-
- Downloads
power_supply: Add voltage_ocv property and use it for max17042 driver
This adds a new sysfs file called 'voltage_ocv' which gives the Open Circuit Voltage of the battery. This property can be used for platform shutdown policies and can be useful for initial capacity estimations. Note: This patch is generated against linux-next branch. Signed-off-by:Ramakrishna Pallala <ramakrishna.pallala@intel.com> Signed-off-by:
Anton Vorontsov <anton.vorontsov@linaro.org>
Showing
- Documentation/power/power_supply_class.txt 2 additions, 0 deletionsDocumentation/power/power_supply_class.txt
- drivers/power/max17042_battery.c 8 additions, 0 deletionsdrivers/power/max17042_battery.c
- drivers/power/power_supply_sysfs.c 1 addition, 0 deletionsdrivers/power/power_supply_sysfs.c
- include/linux/power_supply.h 2 additions, 0 deletionsinclude/linux/power_supply.h
Loading
Please register or sign in to comment