Add battery check for sync