Merge pull request #580 from Riksu9000/timer_battery_reading

Make battery reading periodic
This commit is contained in:
JF002 2021-09-12 18:22:04 +02:00 committed by GitHub
commit f0329298ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 38 additions and 31 deletions

View file

@ -55,8 +55,6 @@ BatteryInfo::~BatteryInfo() {
void BatteryInfo::Refresh() {
batteryController.Update();
batteryPercent = batteryController.PercentRemaining();
batteryVoltage = batteryController.Voltage();