We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de26dfe commit 2f0fe4eCopy full SHA for 2f0fe4e
src/Power.cpp
@@ -1453,7 +1453,7 @@ class LipoCharger : public HasBatteryLevel
1453
/**
1454
* return true if there is an external power source detected
1455
*/
1456
- virtual bool isVbusIn() override { return PPM->getVbusVoltage() > 0; }
+ virtual bool isVbusIn() override { return PPM->isVbusIn(); }
1457
1458
1459
* return true if the battery is currently charging
0 commit comments