itsdrnoob / DataMonitor

Data usage monitoring app for android.
GNU General Public License v3.0
571 stars 49 forks source link

add button to pause/stop the the monitor #234

Closed y1111 closed 6 months ago

y1111 commented 7 months ago

Checklist

Describe the Feature you'd like

a button on the app first screen and on the notification to pause/stop it

Why do you want this feature?

because the app keeps running 24/7 . keeping processes in the background , using battery .

Additional context

No response

y1111 commented 7 months ago

all(or most) other network related apps have this . like adaway ,1111 , nextdns , rethinkdns , netguard , vpn apps ,etc

y1111 commented 7 months ago

by now, the only way to stop it is to open app info and >force stop . (which is not ideal , have to hold for seconds app icon ) is better for the own app to have it. also to start again faster not needing to reload/restart all the app

itsdrnoob commented 7 months ago

Background running of the app depends on the enabled options. Features like Data usage notification / Live network speed requires that part of the app to be alive in order to work properly. Simply disable these options and the app won't be running in the background.

start again faster not needing to reload/restart all the app

That is bound to happen when the app is force stopped.

y1111 commented 7 months ago

yeah the app need to run in the background , it doesnt need to be changed or disabled. it runs correctly . the only thing it needs is a button to stop it whenever the user wants.

itsdrnoob commented 7 months ago

stop it whenever the user wants.

If by this, you mean stopping the app, it's as simple as disabling the notifications/alerts from within the app.