summaryrefslogtreecommitdiffstats
path: root/firmware/export/powermgmt.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2023-04-08 17:13:07 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2023-04-08 17:13:07 -0400
commit78c92c5ca85d275e43bacf0d9948ce9b94605f6e (patch)
tree4b167c51c68aed322588429e5d625fb4a3247d67 /firmware/export/powermgmt.h
parent3554306617245cf019f024fb0ba80ec2476ec5f9 (diff)
downloadrockbox-78c92c5ca8.tar.gz
rockbox-78c92c5ca8.zip
[Feature] Supress voice during sleep timer shutdown
if show_shutdown_message == false and sleep timer is active talk will be disabled on shutdown Change-Id: Ia660e753700f3e283691f41797ef7a77a2d9a8d9
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r--firmware/export/powermgmt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index 6ae5ccfd13..41594abe4d 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -164,6 +164,7 @@ int get_battery_capacity(void); /* get local battery capacity value */
void set_battery_type(int type); /* set local battery type */
void set_sleeptimer_duration(int minutes);
+bool get_sleep_timer_active(void);
int get_sleep_timer(void);
void set_keypress_restarts_sleep_timer(bool enable);
void handle_auto_poweroff(void);