首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Ubuntu Gnome 18.04顶部条上没有显示电池指示器

Ubuntu Gnome 18.04顶部条上没有显示电池指示器
EN

Stack Overflow用户
提问于 2019-11-13 17:07:56
回答 1查看 860关注 0票数 1

两天前我安装了Ubuntu,除了电池指示灯外,一切都很好。由于某些原因,即使在使用gnome调整来打开它时,它也不会显示在顶部的栏中。

我使用了以下命令:

代码语言:javascript
运行
复制
upower -i /org/freedesktop/UPower/devices/battery_BAT0

返回:

代码语言:javascript
运行
复制
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并更新了需要升级的所有包。

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

自动启动文件的路径:

代码语言:javascript
运行
复制
/etc/xdg/autostart

我很感激任何建议,即使你认为这不是自动启动的问题。谢谢。

我的系统

代码语言:javascript
运行
复制
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
代码语言:javascript
运行
复制
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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-04-24 03:27:35

我也有同样的问题。这不是电池问题,是关于linux表面标题的问题。我通过安装一个新内核(非常容易)解决了这个问题,链接是:https://github.com/linux-surface/linux-surface

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58842208

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档