<div dir="ltr"><div>Hello fellow Ubuntu users.</div><div><br></div><div>A couple of days ago, I noticed that while my computer was connected to a main power supply, my battery was not charging. I became concerned with this enough to call the manufacturer.</div><div><br></div><div>After some discussion, it appears that this is a feature of some laptop batteries: they are programmed at some point not to charge so their life can be extended - such was the rationale that was put to me by the support representative.</div><div><br></div><div>In the conversation with the representative, I told them that my laptop was running Ubuntu, and they said that, because I was not running Windows 10, they could not perform conclusive diagnostics, and so the subject of installation of Windows 10 was touted as a likely necessary step that would decide whether this feature-of-some-laptop-batteries was or was not the cause of the behaviour I was experiencing.</div><div><br></div><div>Thankfully, the support rendered did not lead me to do this after I observed the battery begin charging once more after I left it unplugged until the battery's capacity drained below 50%. The battery is now fully charged and my laptop is (as it always was) operating without a problem.<br></div><div><br></div><div>While I was trying to understand what was going on, I found the "upower" Ubuntu CLI command. Running upower on this laptop while it was plugged in gave me the following output while I was experiencing the aforementioned feature:</div><div><br></div><div><span style="font-family:monospace">owen@owen-Yoga-Slim-7-Pro-14ACH5:~$ upower -i /org/freedesktop/UPower/devices/battery_BAT0<br>  native-path:          BAT0<br>  vendor:               Sunwoda<br>  model:                L19D4PH3<br>  serial:               55478<br>  power supply:         yes<br>  updated:              Fri 25 Aug 2023 14:38:24 (59 seconds ago)<br>  has history:          yes<br>  has statistics:       yes<br>  battery<br>    present:             yes<br>    rechargeable:        yes<br>    state:               pending-charge<br>    warning-level:       none<br>    energy:              52.76 Wh<br>    energy-empty:        0 Wh<br>    energy-full:         54.86 Wh<br>    energy-full-design:  61 Wh<br>    energy-rate:         0 W<br>    voltage:             17.209 V<br>    charge-cycles:       200<br>    percentage:          96%<br>    capacity:            89.9344%<br>    technology:          lithium-polymer<br>    icon-name:          'battery-full-charging-symbolic'</span><br><br></div><div>The only indication I can see with this output that might indicate the presence of a charging feature is the value of "pending-charge" against the battery state label. So, I am still a little curious as to whether this command gives me 
all I need to know about what the battery is doing, and, if not, is 
there anything else I can do to dig deeper. Perhaps, should something similar occur again,  I can avoid discussion of Windows 10 installation if I can disclose more conclusive information.</div><div><br></div><div>Thanks,</div><div><br></div><div>  Owen.<br></div></div>