Adding battery status to browser