I’ve installed a new battery on my laptop, but to my surprise, the percentage of charge in the battery is at 0. Here’s the upower diagnostics:

$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  serial:               0
  power supply:         yes
  updated:              Thursday 11 July 2024 09:54:55 PM (16 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               pending-charge
    warning-level:       none
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         0 Wh
    energy-full-design:  0 Wh
    energy-rate:         0 W
    charge-cycles:       100
    percentage:          0%
    technology:          lithium-ion
    icon-name:          'battery-caution-charging-symbolic'

The “energy-full-design” capacity of the battery should be 70Wh, but here it is, at 0Wh. None of the statistics above (except date and time) have updated, and it’s been two days already. How do I calibrate this battery?

  • LalSalaamComrade@lemmy.mlOP
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 months ago

    It’s a Lenovo S540-15IWL, with the MX250 dGPU. I’ve tried checking the BIOS, and there seems to be no setting for the battery in the BIOS.

    • bloodfart@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      2 months ago

      Okay, clear the old upower data stored in your computers /var/lib/upower/ directory with rm /var/lib/upower/* then restart the upower service or just restart your computer.