A.) If the app doesn't support your device, you can collect some info to help.
PLEASE read this first:
1.) You need adb installed
2.) Pull a list of your /sys/class and /sys/devices directories
adb shell ls -alR /sys/class/ > files
adb shell ls -alR /sys/devices/ >> files
3.) Search for current_now
and look for the whole path (the interfaces currently used in the app are listed in point C)
grep -B20 -i <searched_word> files
grep -B20 -i current_now files
4.) Try it out. Reading the file gives the current, if lucky.
adb shell cat <your whole path>
adb shell cat /sys/class/power_supply/Battery/current_now
If it gives a value which can be considered as the current (between 0 and 500 in case of a normal USB 2.0 port), then read out the value more times and look if it changes or not.
5.) If you think, you found your device's interface file to read the current, then please report it in this thread, with the Model string and other device info together.
B.) If your device seems to be supported (no error dialog), but the measured current values are wrong or 0 all the time.
You can report this in this forum. You can switch on a debug info bubble (toast) in pre Lollipp devices (Android 4.0.3-4.4.4) by just long-pushing the battery button in the app, make a screenshot and insert the screen shot in your post.
The debug bubble shows the following:
- The first line is a device info line
- List of all available interfaces (path) including the multiplier (a number which is used to scale the row values got from the interface) and the app internal entry number.
- The firs interface in the list is the for measurement used one
- The debug bubble is also shown, if no interface is found
There are devices with mA interface ( value 10 = 10 mA) and there are devices with uA interface ( value 10000 = 10 000 uA which is 10 mA). The multiplier is used to get the mA value. In the mentioned first case it is 1.0 and in the second case it is 0.001.
Try to find out what is wrong. The multiplier is wrong, or the used interface is wrong. In the second case, please search for a correct interface (point A).
C.) The list of currently scanned file interfaces: