How to Check Laptop Battery Health and Capacity in Ubuntu

Over months and years of daily portable computing, lithium-ion laptop batteries gradually degrade in maximum energy capacity. While Ubuntu displays current charge percentages in the top-right system status area, standard desktop indicators do not tell you whether your battery is operating at peak physical capacity or suffering from severe chemical wear. Checking detailed battery health metrics in Ubuntu allows you to assess degradation, diagnose rapid draining, and decide when hardware replacement is necessary.

Method 1: Checking Basic Battery Details via Ubuntu Settings

For a quick overview of power modes and battery percentage:

  1. Open the Settings application from the Ubuntu app grid.
  2. Click on Power in the left sidebar.
  3. Under the Power Saving and Battery headings, you can verify your active battery percentage, charging status, and choose power performance profiles (such as Power Saver or Balanced).
  4. Toggle on Show Battery Percentage to keep the exact numerical level visible in your top panel.

Method 2: Inspecting Deep Battery Capacity with UPower in Terminal

Ubuntu includes a powerful pre-installed power daemon called UPower that queries battery hardware registers directly:

  1. Press Ctrl + Alt + T to launch the Terminal.
  2. First, identify your battery device path by running:
    upower -e | grep battery
  3. Typically, Ubuntu outputs: /org/freedesktop/UPower/devices/battery_BAT0 (or BAT1).
  4. Now query full hardware diagnostic telemetry using the device path:
    upower -i /org/freedesktop/UPower/devices/battery_BAT0

Interpreting Your Battery Health Metrics

The UPower output provides critical physical metrics to evaluate battery longevity:

  • energy-full-design: The original factory energy capacity of your battery when brand new (measured in Watt-hours, Wh).
  • energy-full: The current maximum energy your battery can hold when charged to 100%.
  • capacity: The actual health percentage calculated by comparing energy-full to energy-full-design. For example, a capacity rating of 85% indicates 15% cumulative degradation over the battery’s lifespan.
  • energy-rate: The real-time rate of energy consumption in Watts. High numbers indicate intense background tasks draining power quickly.
  • charge-cycles (if supported): Total full charge-discharge cycles logged by your laptop’s hardware controller.

Method 3: Checking Raw ACPI Files Directly

If you prefer inspecting the Linux kernel’s direct sysfs records without external utilities:

cat /sys/class/power_supply/BAT0/uevent

This command outputs raw millivolt and microampere registers including POWER_SUPPLY_CHARGE_FULL and POWER_SUPPLY_CHARGE_FULL_DESIGN, allowing you to manually verify the state of your power supply.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.