Updated battery check script to use systemctl for hibernation.