by daniel brooker
Disables charging when battery is 80% or higher.
ROOT REQUIRED. Only compatible with the Nvidia Shield Tablet (original, and possibility K1).
Updated: Reworked flow. Selinux Permissive is no longer required. However, the flow is able to automatically reset your battery stats on unplugging power if you set Selinux to permissive. If Selinux is set to Enforcing (default), the flow will still work just fine, it just won't reset your battery stats.