forked from mirrors/linux
Userspace prefers the driver having a status property over having to guess itself. Specifically this will properly make the GNOME3 UI (and likely others) properly show discharging / charging / full status, instead of always showing discharging as status. Note that in the case there is no charger driver supplying the max17042, then a status of unknown will get returned. At least upower treats this the same as not having a status attribute, so in this case nothing changes from a userspace pov. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> |
||
|---|---|---|
| .. | ||
| ab8500.h | ||
| bq27xxx_battery.h | ||
| bq2415x_charger.h | ||
| bq24735-charger.h | ||
| charger-manager.h | ||
| generic-adc-battery.h | ||
| gpio-charger.h | ||
| isp1704_charger.h | ||
| jz4740-battery.h | ||
| max8903_charger.h | ||
| max17042_battery.h | ||
| sbs-battery.h | ||
| smartreflex.h | ||
| smb347-charger.h | ||
| twl4030_madc_battery.h | ||