Revised attempt at batterystatus