This issue is completely reproducible for me. Digging into the journalctl logs around when the system is rebooting without power plugged in, here are some lines that stand out and might be useful:
Note that the system was sent to reboot at 10:53:00 ... Sep 26 10:53:37 fenrir systemd[2088]: Started GNOME Power management handling. Sep 26 10:53:37 fenrir systemd[2088]: Reached target GNOME Power management handling. ... Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [PUBS] (on) Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [USBC] (on) Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [PXP] (on) Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [PXP] (off) Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [V0PR] (on) Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [V1PR] (on) Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [V2PR] (on) Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [WRST] (on) Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [PIN] (off) Sep 26 10:54:28 fenrir kernel: ACPI: Power Resource [PINP] (off) ... Sep 26 10:54:28 fenrir kernel: usb: port power management may be unreliable ... Sep 26 10:54:29 fenrir dbus-daemon[844]: dbus[844]: Unknown group "power" in message bus configuration file ... Sep 26 10:54:29 fenrir boltd[842]: journal: opened for 'c0030000-0082'; size: 0 bytes Sep 26 10:54:29 fenrir boltd[842]: [c0030000-0082-domain? ] domain: registered (bootacl: 16/16) Sep 26 10:54:29 fenrir boltd[842]: store: loading devices Sep 26 10:54:29 fenrir boltd[842]: power: state located at: /run/boltd/power Sep 26 10:54:29 fenrir systemd[1]: Starting Hold until boot process finishes up... ... Sep 26 10:54:31 fenrir dbus-daemon[844]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.38' (uid=123 pid=1111 comm="/usr/bin/gnome-shell " label="unconfined") Sep 26 10:54:31 fenrir systemd[1]: Starting Daemon for power management... ... Sep 26 10:54:31 fenrir gnome-shell[1111]: Getting invalid resource scale property Sep 26 10:54:31 fenrir gnome-shell[1111]: ibus_bus_hello: assertion 'ibus_bus_is_connected (bus)' failed Sep 26 10:54:31 fenrir gnome-shell[1111]: Error while sending AddMatch() message: The connection is closed Sep 26 10:54:31 fenrir gnome-shell[1111]: ibus_bus_call_async: assertion 'ibus_bus_is_connected (bus)' failed Sep 26 10:54:31 fenrir gnome-shell[1111]: ibus_bus_call_async: assertion 'ibus_bus_is_connected (bus)' failed Sep 26 10:54:31 fenrir gnome-shell[1111]: JS ERROR: Gio.IOErrorEnum: The connection is closed _setContext@resource:///org/gnome/shell/misc/inputMethod.js:63:25 Sep 26 10:54:31 fenrir upowerd[1760]: energy_full (57.180000) is greater than energy_full_design (57.020000) Sep 26 10:54:31 fenrir gnome-shell[1111]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation Sep 26 10:54:31 fenrir systemd[1062]: Started GNOME XSettings. Sep 26 10:54:31 fenrir dbus-daemon[844]: [system] Successfully activated service 'org.freedesktop.UPower' Sep 26 10:54:31 fenrir systemd[1]: Started Daemon for power management. ... Sep 26 10:54:36 fenrir gnome-session-binary[2271]: DEBUG(+): GsmManager: read /etc/xdg/autostart/org.gnome.SettingsDaemon.Power.desktop Sep 26 10:54:36 fenrir gnome-session-binary[2271]: DEBUG(+): GsmManager: not adding app: app-id 'org.gnome.SettingsDaemon.Power.desktop' already exists ... Sep 26 10:54:36 fenrir gnome-session-binary[2271]: DEBUG(+): GsmManager: ID: /org/gnome/SessionManager/App8 app-id:org.gnome.SettingsDaemon.Power.desktop is-disabled:1 is-conditionally-disabled:0 is-delayed:0 ... Sep 26 10:54:36 fenrir systemd[1958]: Started GNOME Power management handling. Sep 26 10:54:36 fenrir systemd[1958]: Reached target GNOME Power management handling. A full journalctl log is available but it is 46Mb so I didn't attach it here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1845532 Title: power icon does not indicate charging if booted without power connected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1845532/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs