PebbleOS
Loading...
Searching...
No Matches
Functions
PRF idle watchdog

Shuts down an idle watch running the recovery firmware. More...

Functions

void prf_idle_watchdog_init (void)
 Subscribe to the events that feed the watchdog.
 
void prf_idle_watchdog_start (void)
 Start or restart the watchdog.
 
void prf_idle_watchdog_stop (void)
 Stop the watchdog.
 

Detailed Description

Shuts down an idle watch running the recovery firmware.

Puts the watch into standby after 10 minutes without Bluetooth connection changes, charger changes or button presses, unless a BLE connection is up or the charger is plugged in. This improves the chances of watches being shipped with some battery charge left.

Function Documentation

◆ prf_idle_watchdog_init()

void prf_idle_watchdog_init ( void  )

Subscribe to the events that feed the watchdog.

Called once at boot from KernelMain. Does not start the watchdog.

◆ prf_idle_watchdog_start()

void prf_idle_watchdog_start ( void  )

Start or restart the watchdog.

Can be called from any task.

◆ prf_idle_watchdog_stop()

void prf_idle_watchdog_stop ( void  )

Stop the watchdog.

Can be called from any task.