Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e20440a0 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-smbcharger: support reading voltage



Currently, POWER_SUPPLY_VOLTAGE_NOW is only exported by the bms
power supply because it is provided by the fuel gauge peripheral.
However, android looks for voltage under /sys/class/power_supply/
battery, which currently does not support reading the voltage.

Fix this by exporting this property in the battery power supply as
well, by making them read through to the bms power supply.

CRs-Fixed: 725746
Change-Id: I1126bec4f4eba7cbc4227027dc452331d85841f3
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 78c36fa0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment