forked from kofal.net/zmk
feat(ext-power): Cut power when PM is sleeping
This commit is contained in:
committed by
Pete Johanson
parent
87dbd4ca28
commit
43f6d798be
@@ -34,3 +34,7 @@ enum power_states sys_pm_policy_next_state(int32_t ticks) {
|
||||
|
||||
return SYS_POWER_STATE_ACTIVE;
|
||||
}
|
||||
|
||||
bool sys_pm_policy_low_power_devices(enum power_states pm_state) {
|
||||
return sys_pm_is_sleep_state(pm_state);
|
||||
}
|
||||
Reference in New Issue
Block a user