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

Unverified Commit 141b7722 authored by Steve Kondik's avatar Steve Kondik Committed by Michael Bestas
Browse files

healthd: Add DASH charger type

Change-Id: Ie1ca5018c465f6b2c15cbc00bdf3bb866d98ddef
parent 2654ac81
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -251,6 +251,7 @@ static BatteryMonitor::PowerSupplyType readPowerSupplyType(const String8& path)
            {"USB_PD_DRP", BatteryMonitor::ANDROID_POWER_SUPPLY_TYPE_USB},
            {"Wireless", BatteryMonitor::ANDROID_POWER_SUPPLY_TYPE_WIRELESS},
            {"Dock", BatteryMonitor::ANDROID_POWER_SUPPLY_TYPE_DOCK},
            {"DASH", BatteryMonitor::ANDROID_POWER_SUPPLY_TYPE_AC},
            {NULL, 0},
    };
    std::string buf;