0

When running Ubuntu 18.04.2 my PC randomly shuts down without any apparent reason, even if the battery level is high (such as 80%). It never happens when running Windows.

Here are two logs before two different events:

Jul 12 08:51:55 uHP2017 dhclient[21348]: DHCPREQUEST of 192.168.43.88 on wlo1 to 192.168.43.1 port 67 (xid=0x54b2dd8)
Jul 12 08:51:55 uHP2017 dhclient[21348]: DHCPACK of 192.168.43.88 from 192.168.43.1
Jul 12 08:51:55 uHP2017 NetworkManager[983]: <info>  [1562914315.8307] dhcp4 (wlo1):   address 192.168.43.88
Jul 12 08:51:55 uHP2017 NetworkManager[983]: <info>  [1562914315.8308] dhcp4 (wlo1):   plen 24 (255.255.255.0)
Jul 12 08:51:55 uHP2017 NetworkManager[983]: <info>  [1562914315.8309] dhcp4 (wlo1):   gateway 192.168.43.1
Jul 12 08:51:55 uHP2017 NetworkManager[983]: <info>  [1562914315.8310] dhcp4 (wlo1):   lease time 3600
Jul 12 08:51:55 uHP2017 NetworkManager[983]: <info>  [1562914315.8311] dhcp4 (wlo1):   hostname 'uHP2017'
Jul 12 08:51:55 uHP2017 NetworkManager[983]: <info>  [1562914315.8311] dhcp4 (wlo1):   nameserver '192.168.43.1'
Jul 12 08:51:55 uHP2017 NetworkManager[983]: <info>  [1562914315.8312] dhcp4 (wlo1): state changed bound -> bound
Jul 12 08:51:55 uHP2017 dbus-daemon[928]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=983 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Jul 12 08:51:55 uHP2017 systemd[1]: Starting Network Manager Script Dispatcher Service...
Jul 12 08:51:55 uHP2017 dbus-daemon[928]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 12 08:51:55 uHP2017 systemd[1]: Started Network Manager Script Dispatcher Service.
Jul 12 08:51:55 uHP2017 nm-dispatcher: req:1 'dhcp4-change' [wlo1]: new request (1 scripts)
Jul 12 08:51:55 uHP2017 nm-dispatcher: req:1 'dhcp4-change' [wlo1]: start running ordered scripts...
Jul 12 08:51:55 uHP2017 dhclient[21348]: bound to 192.168.43.88 -- renewal in 1278 seconds.
Jul 12 08:54:57 uHP2017 NetworkManager[983]: <info>  [1562914497.2530] manager: NetworkManager state is now CONNECTED_SITE
Jul 12 08:54:57 uHP2017 whoopsie[20111]: [08:54:57] offline
Jul 12 08:54:57 uHP2017 dbus-daemon[928]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=983 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Jul 12 08:54:57 uHP2017 systemd[1]: Starting Network Manager Script Dispatcher Service...
Jul 12 08:54:57 uHP2017 dbus-daemon[928]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 12 08:54:57 uHP2017 systemd[1]: Started Network Manager Script Dispatcher Service.
Jul 12 08:54:57 uHP2017 nm-dispatcher: req:1 'connectivity-change': new request (1 scripts)
Jul 12 08:54:57 uHP2017 nm-dispatcher: req:1 'connectivity-change': start running ordered scripts...
Jul 12 08:55:08 uHP2017 whoopsie[20111]: [08:55:08] Cannot reach: https://daisy.ubuntu.com

and the other one

Jul 12 09:13:25 uHP2017 gnome-software[2114]: plugin appstream took 5,1 seconds to do setup
Jul 12 09:13:25 uHP2017 gnome-software[2114]: enabled plugins: packagekit-url-to-app, desktop-categories, packagekit, packagekit-offline, packagekit-upgrade, os-release, packagekit-refresh, packagekit-local, fwupd, packagekit-refine-repos, shell-extensions, packagekit-proxy, systemd-updates, ubuntuone, appstream, hardcoded-blacklist, packagekit-refine, modalias, hardcoded-popular, generic-updates, rewrite-resource, hardcoded-featured, steam, desktop-menu-path, odrs, packagekit-history, provenance, snap, icons, provenance-license, key-colors, key-colors-metadata
Jul 12 09:13:25 uHP2017 gnome-software[2114]: disabled plugins: dpkg, repos, dummy, epiphany
Jul 12 09:13:25 uHP2017 dbus-daemon[915]: [system] Activating via systemd: service name='org.freedesktop.fwupd' unit='fwupd.service' requested by ':1.102' (uid=1000 pid=2114 comm="/usr/bin/gnome-software --gapplication-service " label="unconfined")
Jul 12 09:13:25 uHP2017 systemd[1]: Starting Firmware update daemon...
Jul 12 09:13:28 uHP2017 fwupd[2138]: disabling plugin because: failed to startup unifying: no kernel support for CONFIG_HIDRAW
Jul 12 09:13:28 uHP2017 fwupd[2138]: disabling plugin because: failed to startup dell: failed to initialize libsmbios library
Jul 12 09:13:33 uHP2017 fwupd[2138]: disabling plugin because: failed to coldplug amt: ME refused connection
Jul 12 09:13:33 uHP2017 fwupd[2138]: disabling plugin because: failed to coldplug synapticsmst: MST firmware updating not supported by OEM
Jul 12 09:13:33 uHP2017 boltd[1266]: power: setting force_power to ON
Jul 12 09:13:33 uHP2017 boltd[1266]: power: guard '2' for 'fwupd' active
Jul 12 09:13:33 uHP2017 fwupd[2138]: using plugins: csr, colorhug, wacomhid, steelseries, ebitdo, altos, upower, udev, nitrokey, dfu, thunderbolt, uefi, thunderbolt_power
Jul 12 09:13:33 uHP2017 fwupd[2138]: Daemon ready for requests
Jul 12 09:13:33 uHP2017 dbus-daemon[915]: [system] Successfully activated service 'org.freedesktop.fwupd'
Jul 12 09:13:33 uHP2017 systemd[1]: Started Firmware update daemon.
Jul 12 09:13:53 uHP2017 boltd[1266]: power: got event for guard '2' (10)
Jul 12 09:13:53 uHP2017 boltd[1266]: power: guard '2' for 'fwupd' deactivated
Jul 12 09:13:53 uHP2017 boltd[1266]: power: shutdown scheduled (T-20,00s)
Jul 12 09:13:56 uHP2017 PackageKit: get-updates transaction /1092_bebeaabc from uid 1000 finished with success after 30876ms
Jul 12 09:13:57 uHP2017 gnome-software[2114]: Only 0 apps for recent list, hiding
Jul 12 09:13:57 uHP2017 gnome-software[2114]: failed to call gs_plugin_add_category_apps on snap: lookup api.snapcraft.io: no such host
Jul 12 09:13:57 uHP2017 gnome-software[2114]: hiding category audio-video featured applications: found only 0 to show, need at least 9
Jul 12 09:13:57 uHP2017 gnome-software[2114]: failed to call gs_plugin_add_category_apps on snap: lookup api.snapcraft.io: no such host
Jul 12 09:13:57 uHP2017 gnome-software[2114]: hiding category games featured applications: found only 0 to show, need at least 9
Jul 12 09:13:57 uHP2017 gnome-software[2114]: failed to call gs_plugin_add_popular on snap: lookup api.snapcraft.io: no such host
Jul 12 09:13:57 uHP2017 gnome-software[2114]: failed to call gs_plugin_add_featured on snap: lookup api.snapcraft.io: no such host
Jul 12 09:13:58 uHP2017 gnome-software[2114]: failed to call gs_plugin_refine on packagekit-refine: failed to resolve package_ids: Timeout was reached
Jul 12 09:13:59 uHP2017 gnome-software[2114]: failed to call gs_plugin_refine on packagekit-refine: failed to resolve package_ids: Timeout was reached
Jul 12 09:14:00 uHP2017 gnome-software[2114]: Failed to load snap icon: local snap has no icon
Jul 12 09:14:00 uHP2017 gnome-software[2114]: message repeated 4 times: [ Failed to load snap icon: local snap has no icon]
Jul 12 09:14:03 uHP2017 PackageKit: resolve transaction /1093_dddabcde from uid 1000 finished with success after 2850ms
Jul 12 09:14:04 uHP2017 PackageKit: resolve transaction /1096_aceadbda from uid 1000 finished with success after 1643ms
Jul 12 09:14:04 uHP2017 gnome-software[2114]: Only 8 apps for popular list, hiding
Jul 12 09:14:13 uHP2017 boltd[1266]: power: setting force_power to OFF

Thank you very much in advance

New contributor
frarega is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

frarega is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.