support charge_types in the extensions API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | power: supply: support charge_types in extensionsdrivers/ drivers/ include/ | +41 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Hans de Goede |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/1] support charge_types in the extensions API
From: Jelle van der Waa <[email protected]>
The goal of this patch is to make it possible for the ideapad-laptop driver to move from its custom conservation_mode sysfs attribute to the standardised charge_types sysfs attribute with a power_supply extension. Along with other laptop models which support an end charge threshold which limits it to a fixed value such as some Toshiba and LG models.
User space, in this case UPower would then be detect 'Long Life' as charge_types option and set it.
This patch should also allow the "dell-laptop" driver to move over to the extensions API.
Jelle van der Waa (1):
power: supply: support charge_types in extensions
drivers/power/supply/power_supply_sysfs.c | 23 ++++++++++++++++++++++- drivers/power/supply/test_power.c | 20 ++++++++++++++++++-- include/linux/power_supply.h | 1 + 3 files changed, 41 insertions(+), 3 deletions(-)
Signature · 1 line
2.49.0