[PATCH v4 5/7] power: act8945a_charger: Add capacity level property

2016-08-08 Thread Wenyou Yang
Add the power supply capacity level property, it corresponds to POWER_SUPPLY_CAPACITY_LEVEL_*. It also utilizes the precision voltage detector function module to catch the low battery voltage. Signed-off-by: Wenyou Yang --- Changes in v4: - Change devname of

[PATCH v4 5/7] power: act8945a_charger: Add capacity level property

2016-08-08 Thread Wenyou Yang
Add the power supply capacity level property, it corresponds to POWER_SUPPLY_CAPACITY_LEVEL_*. It also utilizes the precision voltage detector function module to catch the low battery voltage. Signed-off-by: Wenyou Yang --- Changes in v4: - Change devname of devm_request_irq() from