by Sai Srikar Pandala
For premium users, check this flow for more features: https://llamalab.com/automate/community/flows/36946
Know when to replace the battery of your OnePlus device.
If battery health is below 80%, it is time for you to replace your battery.
OnePlus 3, 3T, 5, 5T, 6, 6T, 7, 7T ,7 pro, 7 T pro.
(Might support OnePlus 1 and OnePlus X, not sure!)
Other new devices such as 8, 8 pro and Nord are not supported as they don't store battery health like the previous devices. (For Android Nerds: They don't save battery health in /sys/class/power_supply/bms/battery_health)