diff --git a/src/Power.cpp b/src/Power.cpp index cff3bdb35..33dda8e11 100644 --- a/src/Power.cpp +++ b/src/Power.cpp @@ -1456,7 +1456,7 @@ class LipoCharger : public HasBatteryLevel /** * return true if there is an external power source detected */ - virtual bool isVbusIn() override { return PPM->getVbusVoltage() > 0; } + virtual bool isVbusIn() override { return PPM->isVbusIn(); } /** * return true if the battery is currently charging