How to check battery health on Samsung phones | android | adb

Howin
3 min readNov 1, 2023

--

Battery guardian app icon

Unlike Apple, Samsung does not typically show battery health in settings, so we’re going to do just that. Summarized steps:

  1. Enable usb debugging
  2. Get adb platform tools
  3. Unzip the files
  4. Open cmd in the folder
  5. Connect your device using a usb cable
  6. Start adb daemon
  7. Run command to check battery stats

Enable usb debugging

Settings app > About phone > Software information

Tap on the build number until you unlock developer options.

Software information page

Once that is done go back to the Settings main page and scroll to the very bottom you should see a new option, developer options. Go to the developer options and enable usb debugging.

Developer options page

Get adb platform tools

Go to:

and download platform tools for your computer: windows/mac/Linux. Once downloaded, unzip the files and open them. You should have something like this:

Inside the platform-tools folder

At the address bar, search for cmd and hit enter; it should open cmd (command prompt)

Final step | adb

Connect your device to your computer using a usb cable. In the terminal window type adb devices to start the adb daemon.

adb devices

If your device connected successfully you will see it listed. Lastly to check the battery health run , adb shell dumpsys battery.

adb shell dumpsys battery

dumpsys is a tool that runs on Android devices and provides information about system services. The output gives a lot of information however the information you’re looking for is at the very bottom:

  1. Battery health

For my device, the health is at 99%, for about a years worth of use this is good.

mSavedBatteryAsoc: 99 

2. Charge cycles

The first 3 digits represent the number of charge cycles, in this case the output is 25206, therefore the number of charges is 252.

mSavedBatteryUsage: 25206

Thankyou for reading.

Howin

--

--

Howin

Web developer | Software engineer | Tinkerer Lets talk tech