[APP] Skyrocket Charger Test
UPDATE (6/15/2013): If you have are running ICS, version 0.1 is for you. If you are on a Jelly Bean ROM, 0.3 has been updated and should work for you.
I have moved on to a Note 2 and no longer have my Skyrocket. I think the app version 0.3 works with JB roms. Please report if you encounter problems and I'll fix if I can.
I created a little app in Tasker's App Factory to test your Skyrocket's charger.
The goal of this app is to help you determine if your charger is providing a fast charge and to see if your charger will cause the dreaded wakelock. You should be able to plug in your charger and launch the app to see your charger type and current reported in the notification bar.
I'll go ahead and tell you, this is my first attempt at something like this, so it's not pretty, but I think it works. Please provide feedback regarding functionality if it doesn't work for you.
This app was created to accompany my thread on Skyrocket battery life here: http://forum.xda-developers.com/show....php?t=1759541
The apk is attached. Just install it and launch the app when you have a charger connected. I noticed that it seems to take a long time to start the first time you launch it. I'm not sure what I can do to fix that.
The app runs a cat of these files: /sys/class/power_supply/battery/charging_source & /sys/class/power_supply/battery/batt_current_adc
***Version 0.3 for Jelly Bean ROMs cats batt_charging_source instead of charging_source***
It uses charging_source and the values below to determine the charge type
0= No charger connected.
1= USB Normal Charge. There is 5VDC on pins 1&4 and data current is detected on 2&3
2= AC Fast Charge. AC Fast Charge. There is 5VDC on pins 1&4, and pins 2&3 are BRIDGED.
6= AC Regular Charge. This is the charge state that creates the wakelock. There is 5VDC on pins 1&4, and pins 2&3 are OPEN/DISCONNECTED.
The app uses the batt_current_adc value to determine the charge current. Anything below 500 means your charger provides a normal charge. Anything above that will likely be around 900 and that is considered a fast charge.
The Tasker project XML is attached in the second ZIP if anybody wants to see what the app is doing.
Should work with Jelly Bean
Updated minimum OS to 4.1
Changed cat of "charging_source" to "batt_charging_source"
Having problems with your Skyrocket battery? Read this thread: http://forum.xda-developers.com/show....php?t=1759541