Finding True Battery Health of your iPhone & iPad using Shortcuts

Back in 2018, Apple introduced the Battery Health status option with iOS 11.3. This feature was a boon and allowed users to understand the battery health of their iPhones but (and there is always a BUT) the recalibration time needed for this type of battery checkup induced a lot of unintended anxiety for users. The Battery Health would give a percentage value — 100% for most newly purchased iPhones and according to Apple, this value would gradually drop to about 80% within two years which is perfectly normal for the Li-Ion batteries.

However, some users noticed that their iPhones would have 100% BH even after months of usage or sometimes drop drastically below 80–90% within a year or two. Personally, I have had a weird record of Battery Health percentages from the Settings App on iPhone but then I watched this video of Brandon Butch where he used an iOS Shortcut to find out the battery health directly from the log files on the iPhone.

Now, the Log Files stored on iPhone are probably the most accurate way of finding information about your iPhone as these are generated everyday by your iPhone to be sent to Apple. I customised these shortcuts from Brandon to work for more minute details such as Nominal Charge Capacity (NCC) and Maximum Full Charge Capacity (Max FCC). Here is a bit of context as to why these terms are important — when Li-Ion batteries are manufactured, they are not manufactured perfectly to scale i.e if Apple states that the iPhone XS has a battery capacity of 2658 mAh then its not necessary for every iPhone XS to have that very exact value to the last mAh which means it could have maybe 2600 mAh or even 2700 mAh. That’s the way they are designed. The maximum capacity your iPhone comes charged with is the Max FCC. As you use your phone and it loses battery health (which is very typical of Li-Ion batteries), the NCC goes down giving you a measure of your current charge capacity compared to when the battery was new (with Max FCC).

Now let’s see what we can do to find battery health from the iPhone or iPad’s log files:

Step 1: Save these two iOS Shortcuts on your iPhone/iPad

NCC Shortcut: https://www.icloud.com/shortcuts/45280bf3b2e24a83bcd53be14f9ef7d8

Max FCC Shortcut: https://www.icloud.com/shortcuts/a2685c0a457c4f27bef871fc627e811a

Step 2: On your iPhone/iPad, head over to Settings>>Privacy. Scroll down to Analytics & Improvements and tap on Analytics Data. If you don’t have “Share iPhone Analytics” turned on you might not see this option in which case you might have to turn this on and wait for at least 24 hours (As it takes 24 hours for the log-file to be created).

Settings>>Privacy>>Analytics & Improvements

Step 3: On the “Analytics Data” page, you might see a lot of files. We have to find a file that starts with ‘log-aggregated -’ followed by a date format (-YYYY-MM-DD-TT.ips). Since all files are sorted alphabetically, it will be easier to find the log-file. Once you do, tap on the log-aggregated file that has been generated most recently searching for a file that has today’s date format.

For eg: If I am finding for a log-file for 7th February 2022, I might want to find a file named similar to “log-aggregated-2022–02–07–053008.ips”

Step 4: Once you are in the log-file, you might be blown away from all the data in this file. Fear not, this is probably the easiest step. Simply click on the share icon on the top-right corner of your iPhone/iPad’s screen and search for our Shortcut in the share-menu.

Tap on Share Button

Step 5: Click on ‘View NCC’ shortcut first. This will show you the Nominal Charge Capacity or in layman’s terms the current charge capacity of your device. Note this value down somewhere as NCC.

Step 6: Similarly, tap the share icon again and this time click on the ‘View FCC’ shortcut. This will give you the Full Charge Capacity of your device’s battery from when it was manufactured. Record this value somewhere too as FCC.

Step 7: You might want to head to Calculator App or simply bring down Spotlight on your iPhone/iPad and perform the following calculation:

Battery health = NCC / FCC * 100

In my case, NCC is 7326 and FCC is 7911. So my battery health according to the formula above would be …

Calculating Battery Health on Spotlight

You could even ask Siri to do this for you.

This will give you the battery health of your device as of the current day (if you got the right log-file). This is way better than the number you might see in the Settings up under Battery>>Battery Health and possibly the only way for you to find the battery health of your iPad until Apple allows it within future iPadOS updates.

If you had any issues related to finding the log-files or running the shortcut, feel free to comment below and I will be there to help you get through this process.

BONUS: Here’s Brandon Butch’s Battery Cycle Count iOS Shortcut to find how many cycles your battery has gone through — https://www.icloud.com/shortcuts/7641bb13418b4ebeb26218528ed9a052

~Aditya Darekar

Similar Articles if you enjoyed this one:

1. Will iPhone 6s support iOS 16? : The Logical and Technical Guess

2. What Apple missed out with iOS 15 this year

3. Long-term iPhone 6s user tries out the iPhone 13 Mini

4. Debunking iPhone Battery Myths

5. 3 Tips for an iPhone user to help save time and be a Power User

6. Thoughts on WWDC’21 : A Fun-Take, a Serious-Take and What it means for future Apple products

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aditya Darekar

Aditya Darekar

Since you have finally stumbled upon me, Hi There! Love to write about Tech, Productivity, Books, DIY Cooking and sharing some Life Stories you may like.