mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-23 05:24:46 -07:00
Auto_poweroff option moved from desktop to power.
Add settings for power service (load|save).
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <power/power_service/power_settings.h>
|
||||
#include <core/pubsub.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -102,6 +102,12 @@ void power_enable_low_battery_level_notification(Power* power, bool enable);
|
||||
*/
|
||||
void power_trigger_ui_update(Power* power);
|
||||
|
||||
// get settings from service to app
|
||||
void power_api_get_settings(Power* instance, PowerSettings* settings);
|
||||
|
||||
// set settings from app to service
|
||||
void power_api_set_settings(Power* instance, const PowerSettings* settings);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user