commit | 96f3a0be81a0280c5a5785121dddaee8806496cd | [log] [tgz] |
---|---|---|
author | Brandon Edens <[email protected]> | Tue Jun 13 20:56:58 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Jul 05 22:09:17 2023 +0000 |
tree | ac52cfa62f5f93668b8535421097e92a199fe1e8 | |
parent | c9fa87847fde666c1031ca48fe96f0fc76d912b1 [diff] |
Make SOC scaling offset for shutdown configurable Modify the SOC scaling offset for shutdown so that user can set the value per a product device tree and also update that value during runtime. This makes it easy for developers to customize behavior and test full charge / discharge cycling. Bug: 284989176 Test: Adjust google,soc_shutdown_offset or /sys/class/power_supply/sw5100_bms/soc_shutdown_offset Signed-off-by: Brandon Edens <[email protected]> (cherry picked from https://partner-android-review.googlesource.com/q/commit:232c7e93f9a2f4c613842395074a2c6683a777f9) Merged-In: I9e1b4c1b3bc11bfeaa01b317bf90594988573a37 Change-Id: I9e1b4c1b3bc11bfeaa01b317bf90594988573a37