battery remaining logger