电池指示灯不显示在Ubuntu Gnome 18.04顶部栏



我两天前安装了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,更新了所有需要升级的软件包。

在网上搜索后,我发现这可能与不包含电池指示灯的自动启动文件夹有关,所以这可能与此有关。

自动启动文件的路径:

/etc/xdg/autostart

如果您认为这不是自动启动的问题,我将非常感谢您的任何建议。谢谢

我的系统

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

我也遇到了同样的问题。这不是电池问题,而是关于linux中的surface头的问题。我通过安装一个新内核(非常简单(解决了这个问题,链接是:https://github.com/linux-surface/linux-surface

最新更新