Fixing an issue where the wake up period wasn't used after wake-up.
From Jesper:
Tested on my device, with same result. Fixed by replacing old function to set value with the "new" one.