commit | daaf02d3f207d337c76efc85a5216cea009d58cb | [log] [tgz] |
---|---|---|
author | Piotr Zięcik <piotr.ziecik@nordicsemi.no> | Wed Jan 02 12:40:52 2019 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 01 08:17:41 2019 -0500 |
tree | 9a656fb86cfaba9542852cab90cad1c81053cbf2 | |
parent | 4b78a251d776bb5470abf15671f3246fedbfe698 [diff] |
power: policy_residency: Fix power level selection The algorithm used in residency-based power policy should select the most saving power mode basing on the expected sleep time. However due to small bug, the most power efficient mode was never selected. Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>