Honestly I don't know. I limited my battery to 80% max charge, and just changed the idle setting when the laptop is closed
Discussion
I also adjusted that setting in the bios to a 80% max charge ๐ what idle setting do you have on Ubuntu to decrease battery usage?