Categories:
  - System
License: GPL-3.0-only
WebSite: https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002
SourceCode: https://github.com/sriharshaarangi/BatteryChargeLimit
IssueTracker: https://github.com/sriharshaarangi/BatteryChargeLimit/issues

AutoName: Battery Charge Limit
Description: |-
    Change the limit up to which it should charge (default: 80). Check which control
    file suits best for your device,
    [https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002
    see Q/A for hints]. In most cases, the pre-selected choice should be the best
    that's available for your device. The app only gets kicked in while you connect
    a charger (or USB), and automatically closes shortly after unplugging charger
    (or USB), i.e. it only runs in the background as long as it is plugged in, and
    won't affect your battery life. If your device is not charging even after
    disabling the limit (which shouldn't happen, just in case), uninstall the app
    and reboot the device (the changes made by the app don't survive a reboot). Your
    device should charge normally then.

RequiresRoot: 'yes'

RepoType: git
Repo: https://github.com/sriharshaarangi/BatteryChargeLimit

Builds:
  - versionName: 1.0.4
    versionCode: 20
    commit: v1.0.4
    subdir: app
    gradle:
      - yes
    prebuild: sed -i -e '/keystoreProperties/d' build.gradle

  - versionName: 1.0.5
    versionCode: 21
    commit: v1.0.5
    subdir: app
    gradle:
      - yes
    prebuild: sed -i -e '/keystoreProperties/d' build.gradle

  - versionName: 1.1.0
    versionCode: 22
    commit: v1.1.0
    subdir: app
    gradle:
      - yes
    prebuild: sed -i -e '/keystoreProperties/d' build.gradle

  - versionName: 1.1.1
    versionCode: 23
    commit: v1.1.1
    subdir: app
    gradle:
      - yes
    prebuild: sed -i -e '/keystoreProperties/d' build.gradle

AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.1.1
CurrentVersionCode: 23
