InfiniTime/src/displayapp/screens/BatteryIcon.h
Jean-François Milants e21f6a7f41 Notify battery level every 10 minutes when connected to a BLE host.
Refactor battery percent : only use uint8_t to store the battery % remaining.
2021-07-11 16:55:06 +02:00

14 lines
315 B
C++

#pragma once
namespace Pinetime {
namespace Applications {
namespace Screens {
class BatteryIcon {
public:
static const char* GetUnknownIcon();
static const char* GetBatteryIcon(uint8_t batteryPercent);
static const char* GetPlugIcon(bool isCharging);
};
}
}
}