mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-24 05:34:45 -07:00
Merge Power service refactor, rework power settings
- Merge OFW power service refactor stuff - Move charge cap variable to service - Mirror settings usage of desktop and bt services for power settings - Proper power settings struct, no more weird settings pubsub - Load power settings on SD insert - Set shutdown on idle time in main power settings menu, not in submenu - Update battery icon visibility in power tick event - Remove unused power functions (power_trigger_ui_update(), power_set_battery_icon_enabled())
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
// Instead of copying the file, can (ab)use the preprocessor to insert the source code here
|
||||
// Then, we still use the Header from original code as if nothing happened
|
||||
|
||||
// LOAD_POWER_SETTINGS(), SAVE_POWER_SETTINGS()
|
||||
#include <applications/services/power/power_settings.c>
|
||||
// power_get_settings(), power_set_settings()
|
||||
#include <applications/services/power/power_service/power_api.c>
|
||||
Reference in New Issue
Block a user