powerstats: update path for energy meter

Bug: 250976913
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id97facc75794809ed1b5fe42e214281145b0dbd0
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu 2022-10-07 11:14:12 +08:00
parent b8afd69df2
commit ff90cfc166

View file

@ -322,7 +322,7 @@ void addSoC(std::shared_ptr<PowerStats> p) {
}
void setEnergyMeter(std::shared_ptr<PowerStats> p) {
std::vector<const std::string> deviceNames { "s2mpg12-odpm", "s2mpg13-odpm" };
std::vector<const std::string> deviceNames { "s2mpg14-odpm", "s2mpg15-odpm" };
p->setEnergyMeterDataProvider(std::make_unique<IioEnergyMeterDataProvider>(deviceNames, true));
}