BatteryView is Android Custom View widget that can show the current status of a battery.
This code is used as an example for my blog that explains how to create a custom view in Android step by step. You can check out the full blog here https://medium.com/rubicon-stories/creating-custom-views-in-android-a5589899df87