• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

dr.ketan

Recognized Developer / Recognized Contributor
Deep Discharge Protection Tool

attachment.php


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.


 

Attachments

  • Screenshot_20180109-143711.jpg
    Screenshot_20180109-143711.jpg
    80.7 KB · Views: 9,657
Last edited:

DrReD

Senior Member
Jun 9, 2011
171
41
Deep Discharge Protection Tool

attachment.php


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
 

HorstiG

Senior Member
Mar 14, 2013
4,849
2,735
Banja Luka RS
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
 
Last edited:

HorstiG

Senior Member
Mar 14, 2013
4,849
2,735
Banja Luka RS
How much is the battery consumption of the app?
RAM consumption is ok.

Sent from my SM-N950F using XDA Labs
 

Attachments

  • Screenshot_20180106-160549.jpg
    Screenshot_20180106-160549.jpg
    206.7 KB · Views: 2,119

HorstiG

Senior Member
Mar 14, 2013
4,849
2,735
Banja Luka RS
That's good, today I was on the verge of a heart attack when my phone beeped and suddenly went out. I forgot your App.

Sent from my SM-G955F using XDA Labs
 

borijess

Senior Member
Jul 30, 2010
9,334
1,510
So is the discharge issue with Samsung phones is that a hardware issue or a software issue that can be fixed with firmware update?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 50
    Deep Discharge Protection Tool

    attachment.php


    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.


    7
    Updated to V1.2
    Every one must update this latest version.
    6
    Updated to 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.
    4
    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 :)
    2
    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 :)