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

Increase battery life

Search This thread

virtyx

Senior Member
Jan 3, 2011
2,505
650
If you have developers options enabled, connect to PC with USB debugging enabled.
and type each line in CMD which CD to the platformtools/adb then press enter:

This is System Tracing which is automatically enabled when dev options is on.
adb shell pm disable-user com.android.traceur

oneplus bug reporting
adb shell pm disable-user com.oneplus.opbugreportlite

zen mode (i dont use)
adb shell pm disable-user com.oneplus.brickmode

oneplus logging
adb shell pm disable-user net.oneplus.odm

more oneplus logging
adb shell pm disable-user net.oneplus.odm.provider

you can re-enable these packages by doing
adb shell pm enable <package_to_enable>

share your results, ive noticed a good amount of battery savings.
 
Last edited:

dagod80

Senior Member
Feb 17, 2011
530
163
Samsung Galaxy Z Fold3
If you have developers options enabled, connect to PC with USB debugging enabled.
and type each line then press enter:

adb shell pm disable-user com.android.traceur
adb shell pm disable-user com.oneplus.opbugreportlite
adb shell pm disable-user com.oneplus.brickmode
adb shell pm disable-user net.oneplus.odm

you can re-enable these packages by doing
adb shell pm enable <package_to_enable>

share your results, ive noticed a good amount of battery savings,
How much more SOT would you say in your usage?
 
  • Like
Reactions: cyagl643

virtyx

Senior Member
Jan 3, 2011
2,505
650
Most likely some device information/bug information which is forwarded to OnePlus

adb shell pm disable-user com.android.traceur --this is system tracing, used when developer options is enabled.
adb shell pm disable-user com.oneplus.opbugreportlite --THIS IS ONEPLUS LOGGING
adb shell pm disable-user com.oneplus.brickmode -- this is zen mode.
adb shell pm disable-user net.oneplus.odm -- THIS IS ONEPLUS LOGGING
 

jcsww

Senior Member

Removing things like Facebook and just using your web browser will save you a lot on battery over a day.

Out of hte 4 items listed by the OP, I have only removed one, ZEN Mode. I found that made a big difference on its own to suggest that one specifically.

Other apps I have removed with ADB from my T-Mobile (SM1915) are:

net.oneplus.forums
net.oneplus.weather
com.oneplus.note
com.oneplus.filemanager
com.google.android.apps.docs
com.google.android.apps.techyon
com.google.android.videos
com.google.android.music
com.google.android.apps.maps
com.google.android.apps.photos
com.google.android.youtube
com.google.android.apps.walletnfcrel
com.tmobile.pr.mytmobile
com.tmobile.vvm.application
com.tmobile.services.nameid

I used the ADB command below with the app package name to remove the above bloat.
pm uninstall -k --user 0
 

Volidon

Senior Member
Dec 14, 2013
242
70
If you have developers options enabled, connect to PC with USB debugging enabled.
and type each line then press enter:

adb shell pm disable-user com.android.traceur
adb shell pm disable-user com.oneplus.opbugreportlite
adb shell pm disable-user com.oneplus.brickmode
adb shell pm disable-user net.oneplus.odm

you can re-enable these packages by doing
adb shell pm enable <package_to_enable>

share your results, ive noticed a good amount of battery savings,


It didn't find the last one but disabled the first 3 and idle usage went from 1-1.4% an hour to 0.5% an hour so far today. Good find and have to remember to do this after each update :good:
 
Last edited:

harpin14789

Senior Member
Nov 17, 2012
1,799
789
Dallas
Removing things like Facebook and just using your web browser will save you a lot on battery over a day.

Out of hte 4 items listed by the OP, I have only removed one, ZEN Mode. I found that made a big difference on its own to suggest that one specifically.

Other apps I have removed with ADB from my T-Mobile (SM1915) are:

net.oneplus.forums
net.oneplus.weather
com.oneplus.note
com.oneplus.filemanager
com.google.android.apps.docs
com.google.android.apps.techyon
com.google.android.videos
com.google.android.music
com.google.android.apps.maps
com.google.android.apps.photos
com.google.android.youtube
com.google.android.apps.walletnfcrel
com.tmobile.pr.mytmobile
com.tmobile.vvm.application
com.tmobile.services.nameid

I used the ADB command below with the app package name to remove the above bloat.
pm uninstall -k --user 0

Couldn't I just disable those app. Would they still be active in the background of they are disabled?
 

chalie78910

Senior Member
Apr 12, 2011
270
25
43
Berlin
Samsung Galaxy S21 Ultra
Is my
 

Attachments

  • Screenshot_20190616-054422.jpg
    Screenshot_20190616-054422.jpg
    249.1 KB · Views: 4,466
  • Screenshot_20190616-054428.jpg
    Screenshot_20190616-054428.jpg
    239.7 KB · Views: 4,402
  • Screenshot_20190616-054441.jpg
    Screenshot_20190616-054441.jpg
    225.5 KB · Views: 4,417
  • Screenshot_20190616-054459.jpg
    Screenshot_20190616-054459.jpg
    195.6 KB · Views: 4,043

Top Liked Posts

  • There are no posts matching your filters.
  • 79
    If you have developers options enabled, connect to PC with USB debugging enabled.
    and type each line in CMD which CD to the platformtools/adb then press enter:

    This is System Tracing which is automatically enabled when dev options is on.
    adb shell pm disable-user com.android.traceur

    oneplus bug reporting
    adb shell pm disable-user com.oneplus.opbugreportlite

    zen mode (i dont use)
    adb shell pm disable-user com.oneplus.brickmode

    oneplus logging
    adb shell pm disable-user net.oneplus.odm

    more oneplus logging
    adb shell pm disable-user net.oneplus.odm.provider

    you can re-enable these packages by doing
    adb shell pm enable <package_to_enable>

    share your results, ive noticed a good amount of battery savings.
    8
    If you have developers options enabled, connect to PC with USB debugging enabled.
    and type each line then press enter:

    adb shell pm disable-user com.android.traceur
    adb shell pm disable-user com.oneplus.opbugreportlite
    adb shell pm disable-user com.oneplus.brickmode
    adb shell pm disable-user net.oneplus.odm

    you can re-enable these packages by doing
    adb shell pm enable <package_to_enable>

    share your results, ive noticed a good amount of battery savings,


    It didn't find the last one but disabled the first 3 and idle usage went from 1-1.4% an hour to 0.5% an hour so far today. Good find and have to remember to do this after each update :good:
    6
    Ive increased battery life even more with these commands:
    Code:
    cmd appops set com.ttxapps.drivesync WAKE_LOCK ignore
    cmd appops set com.sonelli.juicessh WAKE_LOCK ignore
    cmd appops set com.google.android.apps.photos WAKE_LOCK ignore
    cmd appops set com.android.chrome WAKE_LOCK ignore
    cmd appops set com.readdle.spark WAKE_LOCK ignore
    cmd appops set com.instagram.android WAKE_LOCK ignore
    cmd appops set com.facebook.katana WAKE_LOCK ignore
    cmd appops set com.facebook.orca WAKE_LOCK ignore

    These commands disable useless wakelocks
    5
    hi everyone, I have one plus 7 pro too. Like you, i would like an increase in battery life. my phone has debugging enabled, but i don't understand how i can do what it is described in the first post. can you explain the steps?thank you so much

    1. Install ADB on you PC - Follow instructions from here - https://www.xda-developers.com/install-adb-windows-macos-linux/
    2. Enable USB debugging on your phone
    3. Connect your phone to your PC. Bring up a command prompt window (or Powershell) and enter "adb devices" (without quotes) and press enter. This is to make sure that adb is up and functioning, and that your phone is connected correctly. If everything is working fine, your phone should show up in the list of devices attached.
    4. Next step is to just copy and paste each of the commands starting with "adb shell" mentioned in the OP, and press enter.
    5. Next, in order to run the commands starting with "cmd appops set", Type "adb shell" (without quotes) and press enter. This will get you into a adb shell session. Just copy and paste each of the commands starting with "cmd appops set" mentioned in the OP, and press enter. Some of these may give you a warning that the id couldn't be found or something like that, in case you don't have that particular app on your phone.
    6. Enjoy better battery life!