Get_battery_health formula?

Can anyone help me understand how get_battery_health is calculated? I’m wondering how dependable the results are considering I’m seeing 79% on a brand new battery.
I don’t know how useful the information would be regardless, but am certainly curious what goes into the forumla.
Thanks

2 Likes