add setBatteryState api for crereader
Merge pull request #114 from chrox/master

add setBatteryState api for crereader