...
- Power Manager monitors Power IR key events and reacts to power state changes.
- It dispatches Power Mode Change events to IARM-Bus.
- All listeners should release resources when entering POWER OFF/STANDBY state and re-acquire them when entering POWER ON state.
- Power manager sends these events to other applications
- IARM_BUS_PWRMGR_EVENT_MODECHANGED
- IARM_BUS_PWRMGR_EVENT_DEEPSLEEP_TIMEOUT
- The Event Data contains
- current power state - IARM_Bus_PWRMgr_PowerState_t curState;
- new power state and - IARM_Bus_PWRMgr_PowerState_t newState;
- Timeout - unsigned int timeout;
- Power manager publishes four RPC Methods:
- SetPowerState
- GetPowerState
- WareHouseReset
- SetDeepSleepTimeOut
Events
IARM_BUS_PWRMGR_EVENT_DEEPSLEEP_TIMEOUT
Event to notify deep sleep timeout
Deep sleep timeout is set by “IARM_BUS_PWRMGR_API_SetDeepSleepTimeOut” API after which this event will be broadcast.