*** TEST RELEASE - updated handling of battery device wakeup