add setBatteryState api for crereader