Its been a week since I have installed Ubuntu everything is great except battery life. I have installed TLP and Powertop and disabled nvidia graphics yet battery does not lasts more that 3 hours. On windows 10 I used to get 7-8 hrs of battery life.
I am using ubuntu 20.04 on Asus K510UQ laptop Intel core i5 8250u, 8gb ram, nvidia 940mx graphics.