Giter Club home page Giter Club logo

batterytool's Introduction

Hi there, I'm Dominik ๐Ÿ‘‹

About Me ๐Ÿง‘๐Ÿป

I'm interested in programming, and I think it's great to create new things. I'm always on the lookout for new technologies and techniques to create amazing products with great user experiences and sleek interfaces. When I'm not coding, I like taking photos, hanging out with friends, or playing the guitar.

Statistics โœจ

batterytool's People

Contributors

domi04151309 avatar farfromrefug avatar seelvia95 avatar stoyandimitrov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

batterytool's Issues

Some questions regarding last update

Hello, I've been using this app for months and recently there was an update saying that now there is an option to ignore focused apps. My question is: what does the app understand as focused app?

For example, let's say I'm using F-droid (which I've selected in Battery Tool) and check for updates and, in the meanwhile, I turn off the screen. I understand that if I was in the app before turning the screen off, it will be treated as focused (and hence not killed). But, if I check for updates and then leave the app and turn off the screen, would it still be treated as focused?
Note that the app is still running and there is a notification that says that it is currently checking for updates.

I've been thinking about this for a long time before this option was released as I'm afraid that if an app is currently being updated from an app store, the store gets killed and thus the app is not updated.

Thank you for creating the app, it is really awesome!

[Feature Request] ADB

Describe the solution you'd like
Add ADB mode
Enable aggressive doze need Write secure setting permission and dump permission

Force stop also can be achieved using ADB

Add any other context or screenshots about the feature request here.

[Bug Report] F-Droid build failed, link error

> Task :app:lintVitalRelease FAILED
/home/vagrant/build/io.github.domi04151309.batterytool/app/src/main/res/values-it/strings.xml:66: Error: "about_version" is translated here but not found in default locale [ExtraTranslation]
    <string name="about_version">Versione %1$s</string>
            ~~~~~~~~~~~~~~~~~~~~
/home/vagrant/build/io.github.domi04151309.batterytool/app/src/main/res/values-it/strings.xml:69: Error: "about_damage" is translated here but not found in default locale [ExtraTranslation]
    <string name="about_damage">Non sono responsabile per eventuali danni al tuo dispositivo.</string>

Could you please take a look? Thanks!

[Bug Report] Does not detect access to the notifications permission

DESCRIPTION:

When activating "ignore music apps" it asks to enable the "notifications permission", I grant the permissions, and the option is not enabled.

It also happens that, when I restart the phone, and open Battery Tool, when I enable the "ignore music apps" option, it is enabled without problems, but the next reboot happens again the same error mentioned initially.

So in conclusion, this bug happens to me every reboot.

SCREENSHOTS:

->I want to enable "ignore music apps", and I get the box to give you permission for notifications.
1

->I give permission for notifications
2
3

->Despite giving permissions, the option is not activated.
4

->After rebooting the phone, I go to the option, and if it can be activated, but in the next reboot the bug occurs again and the cycle repeats.
5

ADDITIONAL INFORMATION:

  • Root: KernelSU 0.7.5 (11434)
  • Android Version: Android 13 (TKQ1.221114.001)
  • Battery Tool version: 1.2.0 (120)
  • Installation source: F-Droid

-Cell phone: Xiaomi Redmi Note 11 (spes)
-ROM: MIUI 14.0.6 (By Xiaomi.EU custom MIUI ROM)

  • Root: KernelSU 0.7.5 (11434)
  • Kernel Version: 4.19.304 ksu

[Bug Report] Auto stop not working

Description
Hello, I've been using this app for months and it has always worked fine. However, I noticed some time ago that it was not auto stopping in background. I don't know what could've caused it.

I've tried with every version in F-droid, but none worked. Stopping manually in the app does work.

Steps I did:

  1. Install the app
  2. Grant root permissions
  3. Disabled the notification from Android settings
  4. Set Auto stop timeout to 15 seconds
  5. Selected apps
  6. The app confirms that some apps will get stopped soon.
  7. Turn off screen for +20 seconds
  8. Turn on screen. The app still says they will get stopped soon

Additional information

  • Android version: 12L
  • Battery Tool version: 1.2.0
  • Installation source: F-Droid
  • Magisk: 25201 Canary (maybe the magisk version is the cause?)

When the app was working I would usually get a toast from Magisk saying the app was granted superuser rights when it killed any app in the background. I don't seem to receive these now.

Translations

May I suggest to use a translation platform as Weblate to handle the translations? Weblate is open source and as such supports open source projects by allowing them to use the service free of charge. Many great open source projects are already there.

This will greatly improve the experience of translators.

P.S.
It is as easy as git pull and git push to receive and send translations to Weblate.

[Feature Request] Ignore if media is playing

Option to not stop an app if media is playing

Add an option switch to the settings page, named "Ignore if media is playing" or similarly, which determines whether the apps added to stop list will be stopped automatically according to other rules (say, automatically stop after screen turns off) when that app is playing media.

Additional context

It doesn't seem sensible or desirable that YouTube Music or any other music/podcast apps is stopped when the screen is off and when the user is listening to it.

[Feature Request] Allowlist Mode

Describe the solution you'd like

I would love to see a Allowlist Mode which dozes every app except explicitly allowed ones. Also great with #8 too.

[Feature Request] Beta builds

Im pleased to see that the development continued after a while, i used to like this app
Any way to release beta builds once every month to test the new changes ? They sound interesting :D

Greenify

How is this app compared to greenify?

[Feature Request] Don't Force Stop Apps That Have Persistent Notifications Active

Describe the solution you'd like

Media players aren't the only apps that use notifications as a way to continue running a task in the background. Termux is an example if this. Greenify uses the notification access permission to ensure it doesn't accidentally interrupt these kinds of apps. Battery Tool should do the same, but currently, it will instead close these kinds of apps no matter what they're doing.

[Bug Report] No apps in the user app list.

I am trying the app on arrow OS android 11 but as per the title in the user app list no app is shown. I have magisk 21.2 and the app has already been allowed to be rooted.

[Feature Request] Don't kill apps that are playing audio

It'd be very handy if the app could refrain from killing apps that are actively playing audio.

Apps like SoundCloud and Spotify can be used while the screen is turned off. If no music is playing however, I want them stopped because they are loaded with trackers.

[Feature Request] Run as administrator

Hello, would it be possible to set BattetyTool as an device administrator? In the android 13 notification center it's showing the current running apps in the background. AfWall+ is administrator and can't be stopped, but battery tool can.
Screenshot_20230507-200110.png

[Bug Report] Foreground apps

Description
Foreground apps are still being closed - for example, if I open Neo Store, keep it onscreen, and shut off the screen, once I turn the screen back on, Neo Store has been closed. The focused app option is on, and my close delay set to 0 seconds (closed instantly). Please let me know if you need me to gather more detailed info.

Additional information

  • Device: Google Pixel 5a/barbet
  • Android version: 12.1/LineageOS 19.1
  • Battery Tool version: 1.2.0
  • Installation source: F-Droid

[Feature Request] Automatically add new apps installed to list

Describe the solution you'd like

I hope to have a switch to enable/disable automatic addition of newly installed apps to stop list. If the switch is on, when a new app is installed, it will be automatically added to the stop list and the user can remove it from the list on demand.

Additional context

This can be seen as an alternative partial solution to #9 , and if we also support to batch select user/system apps, it can be viewed as a total alternative solution for that issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.