JNI for android.server.BatteryService