#pragma once #include #include namespace Pinetime { namespace Applications { namespace Screens { class BatteryIcon { public: void Create(lv_obj_t* parent); void SetColor(lv_color_t); void SetBatteryPercentage(uint8_t percentage); inline lv_obj_t* GetObject() { return batteryImg; } static const char* GetUnknownIcon(); static const char* GetPlugIcon(bool isCharging); private: lv_obj_t* batteryImg; lv_obj_t* batteryJuice; }; } } }