[Samsung Galaxy S (4G Model)] jeffsf:
What I am looking for:

The first battery-status line at boot. Everything up to here is "normal" booting, where you system is trying to figure out what kind of hardware you have, how to "hook it up" and starting up the basic things. This line gets emitted when the charger circuit gets connected to the kernel and starts running. The magic incantation is from drivers/power/s5pc110_battery.c

<4>[ 122.453341] [BAT] CHR(1) CAS(1) CHS(1) DCR(0) ACP(2) BAT(99,0,0) TE(36) HE(1) VO(4168) ED(40) RC(0) CC(869) VF(603) LO(0)

* CHR -- Charger state

* CAS -- Cable status; CABLE_TYPE_NONE - 0, CABLE_TYPE_USB - 1, CABLE_TYPE_AC - 2

* CHS -- Charging status

* DCR -- Discharge reason

* ACP -- "esafe" (haven't looked into this one)

* BAT -- Battery level

* TE -- Temp, in deg. C

* HE -- Health

* VO -- Voltage, mV

* ED -- "event dev state" /* Battery charging in using a Event which consume lots of current */

* RC -- is recharging

* CC -- charge current (really current into the phone/chip, not the battery charging current, from what I can tell)

* VF -- /* Battery VF ADC value */ (no guess yet without a better datasheet on the chip)

The signature of you plugging in a USB cable:

<6>[ 595.059133] android_usb gadget: USB udc 0,1 lock
<7>[ 595.059150] s5pv210_lock_dvfs_high_level : lock with token(7) level(9) current(0)
<4>[ 595.063011] [otg_clock_enable] clk_enable(otg_clock) OK.
<4>[ 595.326017] [BAT] cable maxim_USB_connect~~~
<6>[ 595.326070] [TSP] (set_tsp_for_ta_detect) state = [1]
<6>[ 595.326082] [TSP] (set_tsp_for_ta_detect_exec) state = [1]
<4>[ 595.330665] [BAT] cable maxim_USB_connect~~~
<4>[ 595.332227] [BAT] CHR(1) CAS(1) CHS(1) DCR(0) ACP(2) BAT(99,0,0) TE(36) HE(1) VO(4062) ED(0) RC(0) CC(767) VF(590) LO(0)
<6>[ 595.428568] android_usb gadget: high speed config #1: android
<4>[ 595.828263] [BAT] cable maxim_USB_connect~~~

This looks good -- CHR=1, charging; CAS=1, USB; CC=767, 767 mA going into your phone

The signature of you plugging in a charger:

<4>[ 2081.071285] [BAT] cable maxim_not USB,TA _connect~~~ value =[0x40]
<6>[ 2081.071306] [TSP] (set_tsp_for_ta_detect) state = [1]
<6>[ 2081.071318] [TSP] (set_tsp_for_ta_detect_exec) state = [1]
<4>[ 2081.075739] [BAT] cable maxim_TA_connect~~~
<4>[ 2081.077302] [BAT] CHR(1) CAS(2) CHS(1) DCR(0) ACP(2) BAT(95,0,0) TE(35) HE(1) VO(4021) ED(0) RC(0) CC(869) VF(589) LO(0)
<4>[ 2081.573131] [BAT] cable maxim_TA_connect~~~
<6>[ 2081.573156] [TSP] (set_tsp_for_ta_detect) state = [1]
<6>[ 2081.573168] [TSP] (set_tsp_for_ta_detect_exec) state = [1]
<6>[ 2088.027317] [TSP] (set_tsp_for_ta_detect) state = [0]
<6>[ 2088.027334] [TSP] (set_tsp_for_ta_detect_exec) state = [0]
<4>[ 2088.039044] [BAT] CHR(0) CAS(0) CHS(3) DCR(0) ACP(2) BAT(95,0,0) TE(35) HE(1) VO(4101) ED(0) RC(0) CC(869) VF(590) LO(0)
<6>[ 2088.528641] [TSP] (set_tsp_for_ta_detect) state = [0]
<6>[ 2088.528656] [TSP] (set_tsp_for_ta_detect_exec) state = [0]
<6>[ 2091.622419] fsa9480 7-0025: dev1: 0x40, dev2: 0x0
<4>[ 2091.928089] [BAT] cable maxim_TA_connect~~~
<6>[ 2091.928111] [TSP] (set_tsp_for_ta_detect) state = [1]
<6>[ 2091.928121] [TSP] (set_tsp_for_ta_detect_exec) state = [1]
<4>[ 2091.932629] [BAT] cable maxim_TA_connect~~~
<4>[ 2091.961592] [BAT] CHR(1) CAS(2) CHS(1) DCR(0) ACP(2) BAT(95,0,0) TE(35) HE(1) VO(3983) ED(0) RC(0) CC(869) VF(591) LO(0)
<4>[ 2092.432471] [BAT] cable maxim_TA_connect~~~
<6>[ 2092.432493] [TSP] (set_tsp_for_ta_detect) state = [1]
<6>[ 2092.432503] [TSP] (set_tsp_for_ta_detect_exec) state = [1]
<6>[ 2096.440595] fsa9480 7-0025: dev1: 0x0, dev2: 0x0
<6>[ 2096.955019] [TSP] (set_tsp_for_ta_detect) state = [0]
<6>[ 2096.955041] [TSP] (set_tsp_for_ta_detect_exec) state = [0]
<4>[ 2096.976554] [BAT] CHR(0) CAS(0) CHS(3) DCR(0) ACP(2) BAT(95,0,0) TE(35) HE(1) VO(3997) ED(0) RC(0) CC(869) VF(592) LO(0)

It looks like it starts to successfully charge, then is disconnected. It tries again, then disconnects again.

The phone is trying to draw up to 1000 mA from an AC charger. 869 mA is close, but I am thinking that the wall charger may not be able to supply enough current for the smart phone. On the charger's side, probably in nearly illegible writing, you should see something like "Output: 5V, 500 mA" or "Output: 5V, 1000 mA" or "Output: 5V, 1.0 A" -- the first is probably going to cause problems, the last two should be "strong enough."