[TRACKING] Battery flipping between charging and discharging / Draws from battery even on AC

I tested using a 60W charger and I set the current to 100%(3000mA) manually, and gamed in performance power profile. Lots of inconsistent FPS and sound stuttering. Current from charger jumped all over the place, sometimes to all the way to 0.02A. I then set the current back to 90%(2700mA), still jumped but much less


Battery flipped worse in the middle where I set the limit to 3000mA manually.

$ sudo ectool chargestate show
ac = 1
chg_voltage = 15872mV
chg_current = 0mA
chg_input_current = 2700mA
batt_state_of_charge = 56%

$ sudo ectool chargecontrol
Charge mode = IDLE (1)
Battery sustainer = off (-1% ~ -1%)

$ sudo ectool chargestate show
ac = 1
chg_voltage = 17600mV
chg_current = 3912mA
chg_input_current = 2700mA
batt_state_of_charge = 56%

$ sudo ectool chargecontrol
Charge mode = NORMAL (0)
Battery sustainer = off (-1% ~ -1%)

It flipped between NORMAL and IDLE, when in NORMAL the chg_voltage equals to Desired Voltage (17600mV is incorrect but that’s another problem), when in IDLE the chg_voltage equals to the battery’s current actual voltage. I forgot to record this when set to 3000mA but it should look similar