Tracking Disconnected Devices with Battery Backup