Updated battery.php