I have an older dell laptop that I put ubuntu on a while back and it's never charged properly since. It was a windows7 upgraded to w10 machine originally. It's fully up to date with bios updates. The PSU works fine on other laptops with windows. The battery charges fine on other laptops with windows. If I put my old SSD back in with windows 10 on it, it starts charging again.
This is not a dual boot, it's ubuntu only.
When the machine starts up, the battery light flickers on for a second, then off, then on for about 4 seconds, then off indefinitely. The battery percentage never goes up, but it does go down and shuts off if I unplug the power.
With the computer off, it does the same thing when I plug the power in. Light comes on for about 3-4 seconds, then shuts off and stays off.
This thing is plugged in all the time, but it would be nice to be able to charge the battery so I could move it around my house on occasion.
I've tried "resetting" the machine by shutting down, removing the battery, holding in the power button for 30 seconds, plugging it in, booting up, shutting it down, unplugging it, installing the battery, booting it up.
UBUNTU sees the battery and shows the percentage. For the 4 seconds the charge light is on, it shows an estimated charge time. But when the light shuts off, the charge time goes away and it just says "charging".
I may pull the drive and put the windows drive back in just to make sure it does in fact charge... I know it did 6 months or so ago as I had put the drive back in to install latest windows updates so the drive stays up to date.