Logging battery status