diff options
Diffstat (limited to 'src/displayapp/screens/BatteryInfo.h')
| -rw-r--r-- | src/displayapp/screens/BatteryInfo.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/displayapp/screens/BatteryInfo.h b/src/displayapp/screens/BatteryInfo.h deleted file mode 100644 index de34cdf..0000000 --- a/src/displayapp/screens/BatteryInfo.h +++ /dev/null @@ -1,37 +0,0 @@ -#pragma once - -#include <cstdint> -#include "displayapp/screens/Screen.h" -#include <lvgl/lvgl.h> - -namespace Pinetime { - namespace Controllers { - class Battery; - } - - namespace Applications { - namespace Screens { - - class BatteryInfo : public Screen { - public: - BatteryInfo(DisplayApp* app, Pinetime::Controllers::Battery& batteryController); - ~BatteryInfo() override; - - void Refresh() override; - - private: - Pinetime::Controllers::Battery& batteryController; - - lv_obj_t* voltage; - lv_obj_t* percent; - lv_obj_t* charging_bar; - lv_obj_t* status; - - lv_task_t* taskRefresh; - - uint8_t batteryPercent = 0; - uint16_t batteryVoltage = 0; - }; - } - } -} |
