bm: Add Battery SOC for each platforms
Bug: 299700579 Change-Id: Id2f9b86ded4d9f31fd5faf2d761b5ded7bab5aff Signed-off-by: samou <samou@google.com>
This commit is contained in:
parent
057e9b0f74
commit
0a00bc714a
@ -119,19 +119,31 @@ const struct MitigationConfig::EventThreadConfig eventThreadCfg = {
|
||||
{
|
||||
.MainPmicName = "s2mpg10-odpm\n",
|
||||
.SubPmicName = "s2mpg11-odpm\n",
|
||||
.NumericSysfsStatPaths = {
|
||||
{"battery_soc", "/sys/class/power_supply/max77759fg/capacity"},
|
||||
},
|
||||
},
|
||||
{
|
||||
.MainPmicName = "s2mpg12-odpm\n",
|
||||
.SubPmicName = "s2mpg13-odpm\n",
|
||||
.NumericSysfsStatPaths = {
|
||||
{"battery_soc", "/sys/class/power_supply/max77759fg/capacity"},
|
||||
},
|
||||
},
|
||||
{
|
||||
.MainPmicName = "s2mpg14-odpm\n",
|
||||
.SubPmicName = "s2mpg15-odpm\n",
|
||||
.NumericSysfsStatPaths = {
|
||||
{"battery_soc", "/sys/class/power_supply/max77779fg/capacity"},
|
||||
},
|
||||
},
|
||||
/* MAX_SUPPORTED_PLATFORM */
|
||||
{
|
||||
.MainPmicName = "s2mpg14-odpm\n",
|
||||
.SubPmicName = "s2mpg15-odpm\n",
|
||||
.NumericSysfsStatPaths = {
|
||||
{"battery_soc", "/sys/class/power_supply/max77779fg/capacity"},
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user