You are not logged in.

#1 2020-02-12 14:33:06

citsuac
Member
Registered: 2014-08-26
Posts: 10

[Solved] X1 Carbon Gen 7 Battery Status recently Flappy

Hey All,

After my last update, the battery status indicator started being flappy.  Not sure if this is a hardware or driver issue, but both gnome and upower report 0% charge, when I know that to not be the case.

Occasionally it will jump up to 47% briefly, but then it will go back to 0% after a while.  Happens when both charging and on battery power.

09:23:55 $  upower -i `upower -e | grep 'BAT'`
  native-path:          BAT0
  vendor:               LGC
  model:                02DL004
  serial:               ABCD
  power supply:         yes
  updated:              Wed 12 Feb 2020 09:22:46 AM EST (69 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         51.99 Wh
    energy-full-design:  51 Wh
    energy-rate:         0 W
    percentage:          0%
    capacity:            100%
    technology:          lithium-polymer
    icon-name:          'battery-caution-charging-symbolic'

Where should I be looking to debug this?  I believe it started happening after this upgrade:

[2020-02-10T09:59:42-0500] [PACMAN] Running 'pacman -Syyu'
[2020-02-10T09:59:42-0500] [PACMAN] synchronizing package lists
[2020-02-10T09:59:44-0500] [PACMAN] starting full system upgrade
[2020-02-10T10:00:03-0500] [ALPM] transaction started
[2020-02-10T10:00:03-0500] [ALPM] removed bzr (2.7.0-3)
[2020-02-10T10:00:03-0500] [ALPM] upgraded alsa-plugins (1.2.1-1 -> 1.2.1-4)
[2020-02-10T10:00:03-0500] [ALPM] upgraded autoconf (2.69-6 -> 2.69-7)
[2020-02-10T10:00:03-0500] [ALPM] installed python-configobj (5.0.6-6)
[2020-02-10T10:00:03-0500] [ALPM] installed python-certifi (2019.11.28-1)
[2020-02-10T10:00:03-0500] [ALPM] installed python-dulwich (0.19.15-1)
[2020-02-10T10:00:03-0500] [ALPM] installed python-fastimport (0.9.8-1)
[2020-02-10T10:00:03-0500] [ALPM] installed python-patiencediff (0.1.0-1)
[2020-02-10T10:00:03-0500] [ALPM] installed breezy (3.0.2.3-2)
[2020-02-10T10:00:03-0500] [ALPM] upgraded hwids (20191025-2 -> 20200204-1)
[2020-02-10T10:00:03-0500] [ALPM] upgraded systemd-libs (244.2-1 -> 244.2-2)
[2020-02-10T10:00:03-0500] [ALPM] upgraded systemd (244.2-1 -> 244.2-2)
[2020-02-10T10:00:04-0500] [ALPM] upgraded ca-certificates-mozilla (3.49.2-3 -> 3.50-1)
[2020-02-10T10:00:04-0500] [ALPM] upgraded nss (3.49.2-3 -> 3.50-1)
[2020-02-10T10:00:04-0500] [ALPM] upgraded ttf-liberation (2.00.5-2 -> 2.1.0-1)
[2020-02-10T10:00:05-0500] [ALPM] upgraded chromium (80.0.3987.87-1 -> 80.0.3987.87-2)
[2020-02-10T10:00:05-0500] [ALPM] upgraded containerd (1.3.2-1 -> 1.3.3-1)
[2020-02-10T10:00:05-0500] [ALPM] upgraded imagemagick (7.0.9.21-1 -> 7.0.9.22-1)
[2020-02-10T10:00:05-0500] [ALPM] upgraded libgee (0.20.2-1 -> 0.20.3-1)
[2020-02-10T10:00:05-0500] [ALPM] upgraded libusbmuxd (2.0.0-2 -> 2.0.1-1)
[2020-02-10T10:00:05-0500] [ALPM] upgraded nodejs (13.7.0-1 -> 13.8.0-1)
[2020-02-10T10:00:05-0500] [ALPM] upgraded python-sphinx (2.2.1-2 -> 2.4.0-1)
[2020-02-10T10:00:05-0500] [ALPM] upgraded rclone (1.50.2-1 -> 1.51.0-1)
[2020-02-10T10:00:05-0500] [ALPM] upgraded systemd-sysvcompat (244.2-1 -> 244.2-2)
[2020-02-10T10:00:05-0500] [ALPM] upgraded vala (0.46.5-1 -> 0.46.6-1)
[2020-02-10T10:00:05-0500] [ALPM] upgraded wpebackend-fdo (1.4.0-2 -> 1.4.1-1)
[2020-02-10T10:00:05-0500] [ALPM] transaction completed
[2020-02-10T10:00:06-0500] [ALPM] running '20-systemd-sysusers.hook'...
[2020-02-10T10:00:06-0500] [ALPM] running '30-systemd-catalog.hook'...
[2020-02-10T10:00:06-0500] [ALPM] running '30-systemd-daemon-reload.hook'...
[2020-02-10T10:00:06-0500] [ALPM] running '30-systemd-hwdb.hook'...
[2020-02-10T10:00:06-0500] [ALPM] running '30-systemd-sysctl.hook'...
[2020-02-10T10:00:06-0500] [ALPM] running '30-systemd-tmpfiles.hook'...
[2020-02-10T10:00:06-0500] [ALPM] running '30-systemd-udev-reload.hook'...
[2020-02-10T10:00:06-0500] [ALPM] running '30-systemd-update.hook'...
[2020-02-10T10:00:06-0500] [ALPM] running '90-mkinitcpio-install.hook'...
[2020-02-10T10:00:06-0500] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2020-02-10T10:00:06-0500] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2020-02-10T10:00:06-0500] [ALPM-SCRIPTLET] ==> Starting build: 5.4.15-arch1-1
[2020-02-10T10:00:07-0500] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-02-10T10:00:07-0500] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-02-10T10:00:07-0500] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2020-02-10T10:00:07-0500] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-02-10T10:00:07-0500] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-02-10T10:00:09-0500] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-02-10T10:00:09-0500] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-02-10T10:00:09-0500] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-02-10T10:00:09-0500] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-02-10T10:00:09-0500] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2020-02-10T10:00:10-0500] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-02-10T10:00:10-0500] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2020-02-10T10:00:10-0500] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2020-02-10T10:00:10-0500] [ALPM-SCRIPTLET] ==> Starting build: 5.4.15-arch1-1
[2020-02-10T10:00:10-0500] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-02-10T10:00:10-0500] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-02-10T10:00:10-0500] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-02-10T10:00:10-0500] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-02-10T10:00:11-0500] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2020-02-10T10:00:11-0500] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2020-02-10T10:00:14-0500] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-02-10T10:00:15-0500] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-02-10T10:00:16-0500] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-02-10T10:00:17-0500] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-02-10T10:00:18-0500] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2020-02-10T10:00:24-0500] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-02-10T10:00:24-0500] [ALPM] running 'dbus-reload.hook'...
[2020-02-10T10:00:24-0500] [ALPM] running 'detect-old-perl-modules.hook'...
[2020-02-10T10:00:24-0500] [ALPM] running 'fontconfig.hook'...
[2020-02-10T10:00:25-0500] [ALPM] running 'gtk-update-icon-cache.hook'...
[2020-02-10T10:00:25-0500] [ALPM] running 'texinfo-install.hook'...
[2020-02-10T10:00:25-0500] [ALPM] running 'update-ca-trust.hook'...
[2020-02-10T10:00:26-0500] [ALPM] running 'update-desktop-database.hook'...
[2020-02-10T10:00:26-0500] [ALPM] running 'xorg-mkfontscale.hook'...

Only thing that looks suspicious in that is the systemd upgrade, who's patch looks inconspicuous:

https://git.archlinux.org/svntogit/pack … d188d99a07

Running gnome with xorg and minimal patches / configuration changes to installed packages.

Last edited by citsuac (2020-02-13 20:25:04)

Offline

#2 2020-02-12 16:43:27

citsuac
Member
Registered: 2014-08-26
Posts: 10

Re: [Solved] X1 Carbon Gen 7 Battery Status recently Flappy

Going to attempt a firmware upgrade. :-)  It was naive of me to assume it was up-to-date.

11:42:04 $ fwupdmgr get-updates
No upgrades for Touchpad: current version is 1.3.3013337: 1.3.3013337=same
20QD000SUS
│
├─System Firmware:
│ │   Device ID:           XXXX-XX-XX-XX-XXXX
│ │   Current version:     0.1.20
│ │   Minimum Version:     0.0.1
│ │   Vendor:              LENOVO (DMI:LENOVO)
│ │   GUID:                XXXX-XX-XX-XX-XXXX
│ │   Device Flags:        • Internal device
│ │                        • Updatable
│ │                        • Requires AC power
│ │                        • Supported on remote server
│ │                        • Needs a reboot after installation
│ │                        • Cryptographic hash verification is available
│ │                        • Device is usable for the duration of the update
│ │
│ ├─ThinkPad X1 Carbon 7th / X1 Yoga 4th (W-BIOS for Machine types: 20QF, 20QG, 20QD, 20QE) System Update:
│ │     New version:       0.1.27
│ │     Remote ID:         lvfs
│ │     Summary:           Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware
│ │     License:           Proprietary
│ │     Size:              25.0 MB
│ │     Vendor:            Lenovo Ltd.
│ │     Flags:             is-upgrade
│ │     Description:       Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware Version 1.27
│ │
│ │     The computer will be restarted automatically after updating BIOS completely . Do NOT turn off your computer or remove the AC adaptor while update is in progress.
│ │
│ ├─ThinkPad X1 Carbon 7th / X1 Yoga 4th (W-BIOS for Machine types: 20QF, 20QG, 20QD, 20QE) System Update:
│ │     New version:       0.1.26
│ │     Remote ID:         lvfs
│ │     Summary:           Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware
│ │     License:           Proprietary
│ │     Size:              25.0 MB
│ │     Vendor:            Lenovo Ltd.
│ │     Flags:             is-upgrade
│ │     Description:       Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware Version 1.26
│ │
│ │     The computer will be restarted automatically after updating BIOS completely . Do NOT turn off your computer or remove the AC adaptor while update is in progress.
│ │
│ │     Problem fixes
│ │
│ │      • Fixed an issue where critical low battery status is detected wrongly.
│ │
│ ├─ThinkPad X1 Carbon 7th / X1 Yoga 4th (W-BIOS for Machine types: 20QF, 20QG, 20QD, 20QE) System Update:
│ │     New version:       0.1.25
│ │     Remote ID:         lvfs
│ │     Summary:           Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware
│ │     License:           Proprietary
│ │     Size:              25.0 MB
│ │     Vendor:            Lenovo Ltd.
│ │     Flags:             is-upgrade
│ │     Description:       Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware Version 1.25
│ │
│ │     The computer will be restarted automatically after updating BIOS completely . Do NOT turn off your computer or remove the AC adaptor while update is in progress.
│ │
│ ├─ThinkPad X1 Carbon 7th / X1 Yoga 4th (W-BIOS for Machine types: 20QF, 20QG, 20QD, 20QE) System Update:
│ │     New version:       0.1.23
│ │     Remote ID:         lvfs
│ │     Summary:           Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware
│ │     License:           Proprietary
│ │     Size:              25.0 MB
│ │     Vendor:            Lenovo Ltd.
│ │     Flags:             is-upgrade
│ │     Description:       Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware Version 1.23 (Machine types: 20QF, 20QG, 20QD, 20QE)
│ │
│ │     The computer will be restarted automatically after updating BIOS completely . Do NOT turn off your computer or remove the AC adaptor while update is in progress.
│ │
│ │     Problem fixes
│ │
│ │      • Fixed an issue where "Password do not match." warning message may appear on password input screen when Simple Text Setup UI is selected.
│ │
│ └─ThinkPad X1 Carbon 7th / X1 Yoga 4th (W-BIOS for Machine types: 20QF, 20QG, 20QD, 20QE) System Update:
│       New version:       0.1.22
│       Remote ID:         lvfs
│       Summary:           Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware
│       License:           Proprietary
│       Size:              25.0 MB
│       Vendor:            Lenovo Ltd.
│       Flags:             is-upgrade
│       Description:       Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th System Firmware Version 1.22
│
│       The computer will be restarted automatically after updating BIOS completely . Do NOT turn off your computer or remove the AC adaptor while update is in progress.
│
│       New functions or enhancements
│
│        • Updated the CPU microcode.
│
│       (Note) Above update will show "Self-Healing BIOS  backup progressing ... xx %" massage on screen during BIOS update process.
│
│        • Updated Regulatory Information.
│
│       Problem fixes
│
│        • Fixed an issue where unused device (ACPI\VEN_INTC&DEV_1025) appears when Intel TXT Feature is set to Enabled.
│
├─UEFI Device Firmware:
│ │   Device ID:           XXXX-XX-XX-XX-XXXX
│ │   Current version:     192.40.1433
│ │   Minimum Version:     0.0.1
│ │   Vendor:              DMI:LENOVO
│ │   GUID:                XXXX-XX-XX-XX-XXXX
│ │   Device Flags:        • Internal device
│ │                        • Updatable
│ │                        • Requires AC power
│ │                        • Supported on remote server
│ │                        • Needs a reboot after installation
│ │                        • Device is usable for the duration of the update
│ │
│ └─ThinkPad X1 Yoga 4th and ThinkPad X1 Carbon 7th Corporate ME Update:
│       New version:       192.47.1524
│       Remote ID:         lvfs
│       Summary:           Lenovo ThinkPad X1 Yoga 4th/X1 Carbon 7th Corporate ME Firmware
│       License:           Proprietary
│       Size:              12.4 MB
│       Vendor:            Lenovo Ltd.
│       Flags:             is-upgrade
│       Description:       • 0 Q2'19 Intel Platform Update (Hot Fix Release)
│
│       Version 12.0.47.1524 (LVFS: 192.47.1524)
│
│       Problem Fixes
│
│        • Intel CSME PSIRT-TA-201905-011 Q2 2019 IPU:
│        • Mitigated the following security vulnerabilities under issues:
│
│       Security issues fixed:
│
│        • CVE-2019-0086
│        • CVE-2019-0090
│        • CVE-2019-0092
│        • CVE-2019-0093
│        • CVE-2019-0094
│        • CVE-2019-0096
│        • CVE-2019-0097
│        • CVE-2019-0098
│        • CVE-2019-0153
│        • CVE-2019-0170
│
└─UEFI Device Firmware:
  │   Device ID:           XXXX-XX-XX-XX-XXXX
  │   Current version:     0.1.10
  │   Minimum Version:     0.1.10
  │   Vendor:              DMI:LENOVO
  │   GUID:                XXXX-XX-XX-XX-XXXX
  │   Device Flags:        • Internal device
  │                        • Updatable
  │                        • Requires AC power
  │                        • Supported on remote server
  │                        • Needs a reboot after installation
  │                        • Device is usable for the duration of the update
  │
  ├─ThinkPad X1 Carbon 7th / X1 Yoga 4th (W-BIOS for Machine types: 20QF, 20QG, 20QD, 20QE) Embedded Controller Update:
  │     New version:       0.1.14
  │     Remote ID:         lvfs
  │     Summary:           Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th Embedded Controller Firmware
  │     License:           Proprietary
  │     Size:              767.2 kB
  │     Vendor:            Lenovo Ltd.
  │     Flags:             is-upgrade
  │     Description:       Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th Embedded Controller Firmware Version 1.14
  │
  │     The computer will be restarted automatically after updating BIOS completely . Do NOT turn off your computer or remove the AC adaptor while update is in progress.
  │
  ├─ThinkPad X1 Carbon 7th / X1 Yoga 4th (W-BIOS for Machine types: 20QF, 20QG, 20QD, 20QE) Embedded Controller Update:
  │     New version:       0.1.13
  │     Remote ID:         lvfs
  │     Summary:           Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th Embedded Controller Firmware
  │     License:           Proprietary
  │     Size:              767.2 kB
  │     Vendor:            Lenovo Ltd.
  │     Flags:             is-upgrade
  │     Description:       Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th Embedded Controller Firmware Version 1.13
  │
  │     The computer will be restarted automatically after updating BIOS completely . Do NOT turn off your computer or remove the AC adaptor while update is in progress.
  │
  └─ThinkPad X1 Carbon 7th / X1 Yoga 4th (W-BIOS for Machine types: 20QF, 20QG, 20QD, 20QE) Embedded Controller Update:
        New version:       0.1.12
        Remote ID:         lvfs
        Summary:           Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th Embedded Controller Firmware
        License:           Proprietary
        Size:              767.2 kB
        Vendor:            Lenovo Ltd.
        Flags:             is-upgrade
        Description:       Lenovo ThinkPad X1 Carbon 7th / X1 Yoga 4th Embedded Controller Firmware Version 1.12

        The computer will be restarted automatically after updating BIOS completely . Do NOT turn off your computer or remove the AC adaptor while update is in progress.

        New functions or enhancements

         • Update Charging LED to always On while AC adapter is connected.

        Problem fixes

         • Fixed an issue where critical low battery status is detected wrongly.
         • Fixed an issue where battery is not charged when AC adapter is connected before computer is turned on.

Last edited by citsuac (2020-02-12 18:23:33)

Offline

#3 2020-02-12 17:32:21

citsuac
Member
Registered: 2014-08-26
Posts: 10

Re: [Solved] X1 Carbon Gen 7 Battery Status recently Flappy

Update: attempting to update the firmware, even with the `--force` flag enabled for fwupdmgr, results in "Check power failure, please insert the power source or charge the battery" when the firmware update should be running on the terminal pre-POST.

Time to contact lenovo... :annoyed:

Offline

#4 2020-02-12 18:21:47

citsuac
Member
Registered: 2014-08-26
Posts: 10

Re: [Solved] X1 Carbon Gen 7 Battery Status recently Flappy

Interestingly... Switching outlets in my house allowed the computer to start to charge a bit more, still with sporadic drops back to unknown battery state, but allowed me to get above 30% battery threshold for updating the firmware.  Will report back in a few days if it's fixed the issue.

Offline

#5 2020-02-13 20:24:33

citsuac
Member
Registered: 2014-08-26
Posts: 10

Re: [Solved] X1 Carbon Gen 7 Battery Status recently Flappy

Updating to solved.  Been using it since the update and haven't seen the issue manifest again. :-)

Offline

#6 2020-03-09 17:45:54

citsuac
Member
Registered: 2014-08-26
Posts: 10

Re: [Solved] X1 Carbon Gen 7 Battery Status recently Flappy

FYI I continued to have the issue and had to reseat the battery as in this thread:

https://forums.lenovo.com/t5/ThinkPad-X … 156?page=4

Seems to have worked for now.  Crossing my fingers it doesn't appear again and I don't have to do that often/ever again.

Offline

#7 2020-03-15 14:44:02

tbw
Member
Registered: 2017-01-01
Posts: 9

Re: [Solved] X1 Carbon Gen 7 Battery Status recently Flappy

citsuac wrote:

FYI I continued to have the issue and had to reseat the battery as in this thread:

https://forums.lenovo.com/t5/ThinkPad-X … 156?page=4

Seems to have worked for now.  Crossing my fingers it doesn't appear again and I don't have to do that often/ever again.

Hi citsuac, do you think you could give us a little more detail on exactly what procedure you followed to make it work? There are a lot of potential mentioned solutions in this thread

Thanks a lot!

Offline

Board footer

Powered by FluxBB