set power safe mode

This commit is contained in:
Terrence
2024-11-15 23:07:20 +08:00
parent 58de3852c5
commit 15891f5840
11 changed files with 20 additions and 6 deletions

View File

@@ -43,6 +43,7 @@ public:
virtual bool GetNetworkState(std::string& network_name, int& signal_quality, std::string& signal_quality_text) = 0;
virtual bool GetBatteryLevel(int &level, bool& charging);
virtual std::string GetJson();
virtual void SetPowerSaveMode(bool enabled) = 0;
};
#define DECLARE_BOARD(BOARD_CLASS_NAME) \