add simple battery status logger