fixed output for battery time in prompt