gauge and charger drivers deferred when unplugging during uboot booting
When unplugging 2 seconds after the haptic motor runs when rebooting or turning on the phone, linux can't handle battery charging correctly:
root@pureos:/sys/kernel/debug# cat devices_deferred
3-0036 max17042: failed: power supply register
32c00000.hdmi platform: supplier 0-003f not ready
38100000.usb platform: wait for supplier connector
3-006a bq25890-charger: Failed to register power supply
and
root@pureos:/sys/kernel/debug# upower -e
/org/freedesktop/UPower/devices/DisplayDevice
and hence phosh is showing 0%
and a question mark. Plugging in obviously doesn't change that.