zephyr/subsys/power
Piotr Zięcik 04cb93a250 power: Add sys_pm_force_power_state() API
At the moment application which chosen policy based power
management does not have an option to override decision
taken by the policy (it could only disable some power
states).

This commit adds the sys_pm_force_power_state() method,
which allow the application to choose power state used
when OS decide to suspend the SoC.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-02-11 07:52:12 -05:00
..
policy power: Eliminate SYS_PM_* power states. 2019-02-08 09:07:00 -05:00
CMakeLists.txt
Kconfig power: pm_ctrl: Allow fine-grained power state locking 2019-02-06 14:24:01 +01:00
device.c samples: nrf52: power_mgr: Enable the demo on the nRF51 SoC series 2019-01-31 17:39:27 +01:00
pm_ctrl.c power: pm_ctrl: Allow fine-grained power state locking 2019-02-06 14:24:01 +01:00
power.c power: Add sys_pm_force_power_state() API 2019-02-11 07:52:12 -05:00
reboot.c