check battery status file