As a side note that's common for undercharged batteries.
Charging undercharged lithium batteries must be done exactly right or it can get dangerous because of this is often only supported by OEM chargers or some workaround like keep your device plugged in for 12h even through it in no way indicates that is charging and it will then magically work again (my last phone )