[Samsung Galaxy Tab Plus] garyd9:
hehe

Device is attached to the computer via USB. adb shell is active (USB data). I unlock the tab, put the brightness to max, and start "doodle jump" leaving it at the startup screen (which will not only make the processors work, but will also keep the screen from dimming or turning off.)

The following line means nothing to me, as it's only the value I'm manually setting:

<6>[ 327.586392] smb136_get_charging_current: Get charging current as 750mA.

However, the following kernel messages are very interesting. The first is before it kicked into charging mode (as the battery was full.) The battery current was at -766mA (draining.) Then we see the charging current kick in on the next lines. The first line tells me about power drain with no active charger... the next lines tell me that the battery is actually charging at 150-200mA (doodle jump still running, screen still on and bright.)

<6>[ 327.625739] BAT : soc(99), vcell(4062mV), curr(-766mA), temp(29.5), chg(1), full(1), rechg(1), cable(1)
<6>[ 357.660459] BAT : soc(99), vcell(4183mV), curr(197mA), temp(28.1), chg(1), full(1), rechg(1), cable(1)
<6>[ 387.701929] BAT : soc(100), vcell(4178mV), curr(161mA), temp(28.0), chg(1), full(1), rechg(1), cable(1)

When I did this very same thing this morning with only 500mA (usb mode) going into the cable, curr was coming up around -50mA. Diff: ~250mA.

That tells me it's working. Of course, I have no clue if this will work with usb host.

The only problem I have now is I think I might have broken my arm patting myself on the back. ;)

Here's some more kernel data... I stopped doodle jump and let the screen turn itself off. By watching the curr value, you can witness the battery topping off, the recharge stopping, a bit draining from the battery, recharging back up, and finally levelling off to 0mA. Negative numbers are

a battery drain, positive numbers are battery recharging..

<6>[ 998.746713] BAT : soc(100), vcell(4185mV), curr(143mA), temp(30.0), chg(1), full(1), rechg(1), cable(1)
<6>[ 1028.796446] BAT : soc(100), vcell(4189mV), curr(180mA), temp(30.0), chg(1), full(1), rechg(1), cable(1)
<6>[ 1053.300552] BAT : soc(100), vcell(4110mV), curr(-492mA), temp(30.1), chg(0), full(1), rechg(0), cable(1)
<6>[ 1083.475361] BAT : soc(99), vcell(4109mV), curr(-441mA), temp(30.7), chg(1), full(1), rechg(1), cable(1)
<6>[ 1113.527848] BAT : soc(99), vcell(4191mV), curr(218mA), temp(30.3), chg(1), full(1), rechg(1), cable(1)
<6>[ 1116.853838] BAT : soc(100), vcell(4112mV), curr(-451mA), temp(30.3), chg(0), full(1), rechg(0), cable(1)
<6>[ 1147.251016] BAT : soc(99), vcell(4111mV), curr(-430mA), temp(30.8), chg(1), full(1), rechg(1), cable(1)
<6>[ 1177.321864] BAT : soc(99), vcell(4193mV), curr(235mA), temp(30.4), chg(1), full(1), rechg(1), cable(1)
<6>[ 1198.507565] BAT : soc(100), vcell(4166mV), curr(-10mA), temp(30.3), chg(0), full(1), rechg(0), cable(1)
<6>[ 1228.562408] BAT : soc(100), vcell(4165mV), curr(0mA), temp(30.2), chg(0), full(1), rechg(0), cable(1)
<6>[ 1258.648748] BAT : soc(100), vcell(4161mV), curr(-17mA), temp(30.1), chg(0), full(1), rechg(0), cable(1)
<6>[ 1288.786879] BAT : soc(99), vcell(4164mV), curr(-1mA), temp(30.1), chg(0), full(1), rechg(0), cable(1)
<6>[ 1318.878770] BAT : soc(99), vcell(4165mV), curr(0mA), temp(30.0), chg(0), full(1), rechg(0), cable(1)
<6>[ 1349.028349] BAT : soc(99), vcell(4165mV), curr(0mA), temp(29.9), chg(0), full(1), rechg(0), cable(1)
<6>[ 1379.061602] BAT : soc(99), vcell(4163mV), curr(-8mA), temp(29.8), chg(0), full(1), rechg(0), cable(1)
<6>[ 1409.312413] BAT : soc(99), vcell(4165mV), curr(-1mA), temp(29.7), chg(0), full(1), rechg(0), cable(1)