FORUMS
Remove All Ads from XDA

[09.01.18][G95*][N950] Deep Discharge Protection V1.2

29,433 posts
Thanks Meter: 58,906
 
By dr.ketan, Recognized Developer / Recognized Contributor on 6th January 2018, 02:46 PM
Post Reply Email Thread
Deep Discharge Protection Tool



You might knowing about Deep discharge issue reported on S8/S8+/N8 devices This tool simply switch off device when battery level reaches to 12% to prevent accidental Deep Discharge (While you are sleeping )
Rest is self explanatory

If you enable tool from app, it will give a beep when battery level reaches 12% two time with small interval and if you don't attend, it will turn off device to prevent further battery loss.

PS : Application shouldn't be greenified or killed by any method. Also to add in list of unmonitored apps from Settings-Battery-Unmonitored apps to prevent killing by android system.



Changelog
1.0 - Initial release

1.1
- there are now 4 options for device turn off battery level e.g. 5/7/9/11
- Default and recommended is 11%.
- Added Green dot when service is ON
- Added vibration alert before turning off.

1.2 (3552)
- Better root detection, it will show up root status on top. It should ask root access (If available) on starting of app.
- For rooted device, it will turn off device if first two alerts not attended.
- For non rooted device, It will give two short beeps and then every 30 minutes with louder and long duration each time (should enough to wake up for most peoples ) for next 3 hrs.

1.3
- Fix possible issue with SuperSu and Magisk (16.4) on oreo

Important : No root device will get alert only, for shut off device root is requires. I am looking into this for non root version for better options.


Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180109-143711.jpg
Views:	5568
Size:	80.7 KB
ID:	4384108  
Attached Files
File Type: apk DDP 1.3.apk - [Click for QR Code] (2.49 MB, 376 views)
The Following 43 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
 
 
6th January 2018, 02:53 PM |#2  
Senior Member
Thanks Meter: 42
 
More
Quote:
Originally Posted by dr.ketan

Deep Discharge Protection Tool



You might knowing about Deep discharge issue reported on S8/S8+/N8 devices This tool simply switch off device when battery level reaches to 12% to prevent accidental Deep Discharge (While you are sleeping )
Rest is self explanatory

If you enable tool from app, it will give a beep when battery level reaches 12% two time with small interval and if you don't attend, it will turn off device to prevent further battery loss.

PS : Application shouldn't be greenified or killed by any method. Also to add in list of unmonitored apps from Settings-Battery-Unmonitored apps to prevent killing by android system.

Looks good
Thanks master

Enviado desde mi SM-N950F mediante Tapatalk
6th January 2018, 02:54 PM |#3  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,448
 
More
Test is running, thank you.

Why not at 5%? So it shortens my SOT by an hour.

Sent from my SM-N950F using XDA Labs
6th January 2018, 03:06 PM |#4  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 58,906
 
Donate to Me
More
Quote:
Originally Posted by HorstiG

Test is running, thank you.

Why not at 5%? So it shortens my SOT by an hour.

Will make new version with some custom options like 5,10,15 or so
Let's see how users respond to this
The Following 2 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
6th January 2018, 03:09 PM |#5  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,448
 
More
How much is the battery consumption of the app?
RAM consumption is ok.

Sent from my SM-N950F using XDA Labs
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180106-160549.jpg
Views:	1664
Size:	206.7 KB
ID:	4381398  
6th January 2018, 03:12 PM |#6  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 58,906
 
Donate to Me
More
Quote:
Originally Posted by HorstiG

How much is the battery consumption of the app?

Shouldn't be a considerable. Just running in BG and nothing else Watch a cycle and let is know.
The Following User Says Thank You to dr.ketan For This Useful Post: [ View ]
6th January 2018, 03:22 PM |#7  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,448
 
More
Quote:
Originally Posted by dr.ketan

Shouldn't be a considerable. Just running in BG and nothing else Watch a cycle and let is know.

Ok

Sent from my SM-N950F using XDA Labs
6th January 2018, 08:37 PM |#8  
Senior Member
Thanks Meter: 23
 
More
Is root needed to run this?
6th January 2018, 08:55 PM |#9  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 58,906
 
Donate to Me
More
Quote:
Originally Posted by greatg

Is root needed to run this?

No
7th January 2018, 04:59 PM |#10  
winol's Avatar
Senior Member
Flag COATZACOALCOS
Thanks Meter: 260
 
Donate to Me
More
Thanks dr! I will try it and report back, choosing levels would be a good idea
7th January 2018, 05:21 PM |#11  
dr.ketan's Avatar
OP Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 58,906
 
Donate to Me
More
Yes, newer one is having options for 5/7/9/11 % battery level. It's ready but need to test final time. Just received a gift of Note8 VR so now busy with installing it first
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180107-224851.jpg
Views:	2546
Size:	363.0 KB
ID:	4382570  
The Following 4 Users Say Thank You to dr.ketan For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes