mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-27 15:36:48 +00:00

Support the newly introduced charge_types sysfs attribute as a replacement for the custom `battery_life_extender` attribute. Setting charge_types to `Long Life` enables battery life extending mode. This change is similar to the recent Ideapad patch adding support for charge_types. Signed-off-by: Jelle van der Waa <jvanderwaa@redhat.com> Link: https://lore.kernel.org/r/20250702182844.107706-1-jvanderwaa@redhat.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
11 lines
388 B
Plaintext
11 lines
388 B
Plaintext
What: /sys/devices/platform/samsung/battery_life_extender
|
|
Date: December 1, 2011
|
|
KernelVersion: 3.3
|
|
Contact: Corentin Chary <corentin.chary@gmail.com>
|
|
Description: Max battery charge level can be modified, battery cycle
|
|
life can be extended by reducing the max battery charge
|
|
level.
|
|
|
|
- 0 means normal battery mode (100% charge)
|
|
- 1 means battery life extender mode (80% charge)
|