我安装了 Ubuntu 20.04。我正在使用笔记本电脑,联想 Thinkpad X1 Extreme 第二代。插入电源时,没有问题。但是,当我使用未插入电源(使用电池)的笔记本电脑时,它会关机,即使显示电池电量约为 85%。突然,它显示 1% 并发出通知(电池电量低系统将关机)。然后我插入电池线并重新启动系统,它工作正常。我查看了它关机的时间(13:50),启动系统后,我检查/var/logs/syslog
并保存了它。我不明白问题是什么?是蓝牙吗?这是日志;
Jun 29 13:50:02 aydin /usr/lib/gdm3/gdm-x-session[1827]: dbus-daemon[1827]: [session uid=125 pid=1827] Activating service name='ca.desrt.dconf' requested by ':1.5' (uid=125 pid=1912 comm="/usr/bin/gnome-shell " label="unconfined")
Jun 29 13:50:02 aydin /usr/lib/gdm3/gdm-x-session[1827]: dbus-daemon[1827]: [session uid=125 pid=1827] Successfully activated service 'ca.desrt.dconf'
Jun 29 13:50:06 aydin gnome-shell[2543]: Source ID 974236 was not found when attempting to remove it
Jun 29 13:50:06 aydin gnome-shell[2543]: Source ID 974329 was not found when attempting to remove it
Jun 29 13:50:06 aydin gnome-shell[2543]: Source ID 975409 was not found when attempting to remove it
Jun 29 13:50:06 aydin gnome-shell[2543]: Could not create transient scope for PID 640955: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 640955 does not exist.
Jun 29 13:50:06 aydin gnome-shell[2543]: Could not create transient scope for PID 640956: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 640956 does not exist.
Jun 29 13:50:06 aydin gnome-shell[2543]: Could not create transient scope for PID 640957: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 640957 does not exist.
Jun 29 13:50:06 aydin gnome-shell[2543]: Could not create transient scope for PID 640958: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 640958 does not exist.
Jun 29 13:50:06 aydin gnome-shell[2543]: Could not create transient scope for PID 640959: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 640959 does not exist.
Jun 29 13:50:06 aydin gnome-shell[2543]: Could not create transient scope for PID 640960: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 640960 does not exist.
Jun 29 13:50:06 aydin gnome-shell[2543]: Could not create transient scope for PID 640961: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 640961 does not exist.
Jun 29 13:50:06 aydin gnome-shell[2543]: g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Jun 29 13:50:15 aydin gnome-shell[2543]: ../clutter/clutter/clutter-actor.c:10558: The clutter_actor_set_allocation() function can only be called from within the implementation of the ClutterActor::allocate() virtual function.
Jun 29 13:50:22 aydin systemd[1]: unattended-upgrades.service: Succeeded.
Jun 29 13:50:22 aydin gnome-shell[2543]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Jun 29 13:50:22 aydin systemd[1]: Stopping Session 2 of user yalin.
Jun 29 13:50:22 aydin systemd[1]: Stopping Session c1 of user gdm.
Jun 29 13:50:22 aydin pulseaudio[2258]: X connection to :1 broken (explicit kill or server shutdown).
Jun 29 13:50:22 aydin systemd[1]: Removed slice system-clean\x2dmount\x2dpoint.slice.
Jun 29 13:50:22 aydin systemd[1]: Removed slice system-getty.slice.
Jun 29 13:50:22 aydin kernel: [280184.128652] rfkill: input handler enabled
Jun 29 13:50:22 aydin systemd[2252]: Stopped target GNOME X11 Session (session: ubuntu).
Jun 29 13:50:22 aydin gdm3: Tried to look up non-existent conversation gdm-launch-environment
Jun 29 13:50:22 aydin systemd[2252]: Stopped target GNOME Session.
Jun 29 13:50:22 aydin bluetoothd[1202]: Terminating
Jun 29 13:50:22 aydin systemd[2252]: Stopped target GNOME X11 Session.
Jun 29 13:50:22 aydin ModemManager[1336]: <info> Caught signal, shutting down...
Jun 29 14:01:53 aydin systemd-modules-load[348]: Inserted module 'lp'
Jun 29 14:01:53 aydin systemd-modules-load[348]: Inserted module 'ppdev'
Jun 29 14:01:53 aydin systemd-modules-load[348]: Inserted module 'parport_pc'
Jun 29 14:01:53 aydin systemd-modules-load[348]: Inserted module 'v4l2loopback'
注意:aydin 是我的计算机名称,yalin 是用户。