Awake should result in false
while sleeping in true
for Hibernation state.
In case of states that have defined custom values range, those values are translated to integers by function State::tryValueFromName
.
Value 0
translates to invalid
, 1
to active
, 2
to inactive
, 3
to unknown
.
Dss code pushes awake
as value 1
, and sleeping
as 2
. This should be reversed, as sleeping
is active
state of Hibernation
, and vice versa.