User interface 电池指示灯未显示在Ubuntu Gnome 18.04顶栏上

User interface 电池指示灯未显示在Ubuntu Gnome 18.04顶栏上,user-interface,ubuntu-18.04,gnome-shell,User Interface,Ubuntu 18.04,Gnome Shell,我两天前安装了UbuntuGNOME,除了电池指示灯外,一切正常。由于某些原因,在顶部栏中,即使使用gnome调整将其打开,它也不会显示 我使用了以下命令: upower -i /org/freedesktop/UPower/devices/battery_BAT0 返回: native-path: (null) power supply: no updated: Thu 01 Jan 1970 01:00:00 IST (

我两天前安装了UbuntuGNOME,除了电池指示灯外,一切正常。由于某些原因,在顶部栏中,即使使用gnome调整将其打开,它也不会显示

我使用了以下命令:

upower -i /org/freedesktop/UPower/devices/battery_BAT0

返回:

native-path:          (null)
  power supply:         no
  updated:              Thu 01 Jan 1970 01:00:00 IST (1573663817 seconds ago)
  has history:          no
  has statistics:       no
  unknown
    warning-level:       unknown
    battery-level:       unknown
    icon-name:          '(null)'

这表明它甚至看不到电源,更不用说电池百分比了

我还多次卸载和重新安装了电池指示灯,它完全是最新的。还更新了Ubuntu,更新了所有需要升级的软件包

在线搜索后,我发现它可能与autostart文件夹有关,文件夹中没有电池指示灯,因此可能与此有关

自动启动文件的路径:

/etc/xdg/autostart

即使您认为这不是autostart问题,我也希望您能提供任何建议。谢谢

我的系统
我也有同样的问题。这不是电池问题,而是linux中的surface头的问题。我通过安装一个新内核(非常简单)解决了这个问题,链接是:

Hi,欢迎使用stack overflow。您可以使用此链接改进您的答案并
Linux pc 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
description: Laptop
    product: Surface Pro 6 (Surface_Pro_6_1796_Consumer)
    vendor: Microsoft Corporation
    version: D:0B:13F:5C:10P:38S:01E:0
    serial: 051670285253
    width: 64 bits
    capabilities: smbios-3.1 dmi-3.1 smp vsyscall32
    configuration: administrator_password=disabled chassis=laptop family=Surface sku=Surface_Pro_6_1796_Consumer uuid=0A1BA476-28B9-228A-191E-C19E0DDDAF06
  *-core
       description: Motherboard
       product: Surface Pro 6
       vendor: Microsoft Corporation
       physical id: 0
       serial: A75493112764852A
     *-firmware
          description: BIOS
          vendor: Microsoft Corporation
          physical id: 0
          version: 234.2706.768
          date: 04/18/2019
          size: 1MiB
          capacity: 15MiB
          capabilities: pci upgrade shadowing bootselect edd int5printscreen int9keyboard int17printer acpi usb biosbootspecification uefi
     *-memory
          description: System Memory
          physical id: 6
          slot: System board or motherboard
          size: 8GiB