theblixguy / ForceDoze

Enable Doze mode immediately after screen off and turn off motion sensing to get best battery life
https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze&hl=en
GNU General Public License v3.0
178 stars 37 forks source link

Can't use it on android 13 #87

Open HyperFire16 opened 1 year ago

HyperFire16 commented 1 year ago
  1. I've been trying to use the root work around using LADB (my android supports wireless debugging and so I thought this would work. Sadly not matter how many times I put in the command (and changed it a little) the app doesn't take the access. Please help me someone.
jacob153 commented 10 months ago

You need to use USB debugging from a computer with platform tools downloaded.

[https://developer.android.com/tools/releases/platform-tools]( Google Platform Tools)

  1. Download platform tools
  2. Extract it
  3. Open terminal or cmd in the extracted folder(there may be another platform-tools folder you need to navigate to)
  4. Enable USB debugging on your android device
  5. Plug your android device into your computer
  6. Allow the computer access to USB debugging from phone
  7. Run permission commands
  8. Restart the app
  9. Enjoy force doze
farfromrefug commented 2 weeks ago

@HyperFire16 see this issue on a possible fix https://github.com/farfromrefug/EnforceDoze/issues/10#issuecomment-2477396820. BTW that repo is not maintained anymore you can use my fork https://github.com/farfromrefug/EnforceDoze