mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
power.stats: Update path to wlan sysfs node
The path to the wlan power stats sysfs node was changed, so the power.stats service needs to be updated with the new path. Bug: 120301393 Test: adb root && adb shell "lshal debug android.hardware.power.stats@1.0::IPowerStats/default" Change-Id: I11888c91aa76ae14710b1b900076ba2a852ba353
This commit is contained in:
@@ -109,7 +109,8 @@ int main(int /* argc */, char ** /* argv */) {
|
||||
|
||||
// Add WLAN power entity
|
||||
uint32_t wlanId = service->addPowerEntity("WLAN", PowerEntityType::SUBSYSTEM);
|
||||
auto wlanSdp = std::make_shared<WlanStateResidencyDataProvider>(wlanId);
|
||||
auto wlanSdp =
|
||||
std::make_shared<WlanStateResidencyDataProvider>(wlanId, "/d/wlan0/power_stats");
|
||||
service->addStateResidencyDataProvider(std::move(wlanSdp));
|
||||
|
||||
// Add Easel power entity
|
||||
|
||||
Reference in New Issue
Block a user