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

Commit 14107eb6 authored by Stephane Lee's avatar Stephane Lee
Browse files

Fix logging in Health HAL 2.0 am: 45f8ab34 am: 05c31c60 am: 0b2789f9

Change-Id: Ib30ab0f6ee331cda8724fdcf708216b21c0a46db
parents 372b792e 0b2789f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ Return<Result> Health::update() {
    const HealthInfo_1_0& health_info = battery_monitor_->getHealthInfo_1_0();
    struct BatteryProperties props;
    convertFromHealthInfo(health_info, &props);
    bool log = healthd_board_battery_update(&props);
    bool log = (healthd_board_battery_update(&props) == 0);
    if (log) {
        battery_monitor_->logValues();
    }