Charging issues on Samsung Chromebook Pro (Caroline) and Ubuntu

I installed Ubuntu on my Chromebook Pro, and I’m getting a weird charging behavior.

If I plug in the USB-C charger the laptop will charge slowly, ~7 hour to full charge. If I suspend with the cable plugged in, It will charge fast ~1hour to full charge.

If I unplug the cable and plug in again I will be back to slow charge ~7hrs to full. Again, suspending and coming back will fix this.

Does anyone have an idea of what can be happening or what changes after suspending?