#!/system/xbin/sh

	/system/bin/stop battd
	/system/bin/am start -a android.intent.action.MAIN -e message "battery values reset" -n com.rja.utility/.ShowToast
	printf "\x80\xae\x78\xfa\x00\x00\x00\x00" >/data/battd/cc_data
	rm /data/system/batterystats.bin
	sync
	sleep 5
	/system/bin/am start -a android.intent.action.MAIN -e message "phone will reboot now" -n com.rja.utility/.ShowToast
	sleep 2
	reboot
