First and foremost, the laptop's charger broke and therefore, I bought a new one whose input and outputs are both C and has a power of ~20W.   The laptop charges only when shut down. Although it got to charge while turned on once, and that's what I'm trying to replicate here.   I have two hypotheses: 1. The laptop has an authenticator which recognizes if the charger is from Dell or from any other company. In the latter case, it won't charge as intended.2. The laptop is just not receiving enough watts. The time it charged whilst turned on, it let me knew the power didn't suffice. The original charger had an output of 60-65W, so that'll make sense.   But taking into account any of these, a question yet arises and is, 'why and how did it charge whereas turned on that time?'   Thanks in advance. Buy a 65W charger because that's what the laptop needs.  
First and foremost, the laptop's charger broke and therefore, I bought a new one whose input and outputs are both C and has a power of ~20W.   The laptop charges only when shut down. Although it got to charge while turned on once, and that's what I'm trying to replicate here.   I have two hypotheses: 1. The laptop has an authenticator which recognizes if the charger is from Dell or from any other company. In the latter case, it won't charge as intended.2. The laptop is just not receiving enough watts. The time it charged whilst turned on, it let me knew the power didn't suffice. The original charger had an output of 60-65W, so that'll make sense.   But taking into account any of these, a question yet arises and is, 'why and how did it charge whereas turned on that time?'   Thanks in advance.
'Dell Latitude 5289 2-in-1' charges just when shut down