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

Skip to content
Commit 241e597f authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Stephen Boyd
Browse files

power: bq28400: Add module parameter to fake battery SOC



The module parameter allows faking the SOC to the
specified value and prevents reporting the true SOC.

Example to fake the SOC to 75%
echo 75 > /sys/module/bq28400_battery/parameters/fake_battery

Change-Id: I5963a407b4ae847a5accfeb1dd8c478817ff0a57
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent a492367c
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