Battery percentage is not visible on top bar of Ubuntu 20.04 LTS for Surface Pro (Surface_Pro_1796)

I have done a fresh installation of Ubuntu 20.04 LTS on Surface Pro (Surface_Pro_1796) and it seems like there is some issue with battery percentage which supposed to be displayed on top bar of GNOME desktop. Did some research on this and tried the following without any success:

  1. I have no entry for battery under these directories /proc/acpi/battery or /sys/class/power_supply

    enter image description here

    enter image description here

  2. Ran acpi -b command – no output.

  3. Installed GNOME Tweaks and tried to enable batter percentage but it didn’t help.

    enter image description here

  4. Installed Linux Surface kernel from this link, but it didn’t help. Although it should not help, but gave a try.

I am not sure what else to try, please help.

Go to Source
Author: Prat

Ubuntu 18.04 automatically logs out when I close the laptop lid

Ubuntu 18.04 automatically logs out when I close the laptop lid

I have 18.04 on my lenovo legion. Usually, when I go to bed I close the lid and the computer goes into suspend/sleep and when I wake up, I unlock it and pick up where I left. But very recently- last week or 2, when I close the lid and wake up in the morning, I find that ubuntu has logged me out. and of course, when I log back in, all windows and apps are closed, sometimes I lose my progress on unsaved projects and the sites I wanted to have open.

does anyone else face this issue? my guess is that I have nvidia 430.50 driver and I installed it along with tensorflow. But recently the system shows this partial update warning and the only packages there are the nvidia driver 440.59 version. I don’t want to break my tensorflow installation and also potentially break the os by installing it. Any advice?

Go to Source
Author: alonzo golanzo