Can someone explain how to use the setBattery() function? (Or: How to use Device Activity Check)