Low power mode on Kompakt

I found a way to turn on low power mode which extends battery. First download this app. Android settings. I’ll leave a link but it’s in Aurora store also. Then go to battery saver in the app. It will open battery settings on the phone. Click on low power mode and turn off (turn off at 90%) that way it stays on. Now it’s going to be dark mode which doesn’t do well do to turn that off you have to do an adb command.

adb shell
settings put global battery_saver_constants “enable_night_mode=false”

5 Likes

this is interesting, thanks for posting. do you have a handle on how much it extends battery life, I am averaging 5 to 6 days at present.

2 Likes

I’m not sure but with my other android, it’s quite a lot

1 Like

I tried this command to disable dark mode, but it does not appear to be doing anything. I have never used ABD before, so maybe I’m doing something wrong? I used WebABD and copied the command settings put global battery_saver_constants “enable_night_mode=false” directly into the shell window. But when I disconnect my phone and switch on battery saver, dark mode is still enabled.

1 Like

@superannette Did you also download the app- Android Settings?

They had to if they got dark mode on.

1 Like

did you make sure your connected to adb? Type “Adb devices” without parentheses.

Note for Windows users: If the device isn’t recognized, you may need to enable the USB backend flag by pasting chrome://flags/#enable-web-usb-backend (or #new-usb-backend) in your Chrome address bar, enabling it, and relaunching the browser

1 Like

Thanks for your reply!
I’m probably doing something wrong. Here’s what I’m doing:

  • go to Interactive Shell - Android Web Toolbox in Edge or Chrome (tried both)
  • Connect my Kompakt, click connect on the left side in the browser window, choose allow on my device
  • Choose ‘interactive shell’ on the left side
  • The screen shows ‘Kompakt:/ $’
  • Paste the copied commands you posted in your post
  • Then I receive this error message "system/bin/sh: adb: inaccessible or not found“
  • When I just copy and paste “settings put global battery_saver_constants “enable_night_mode=false” I don’t get an error message, but nothing seems to happen either.
  • I also tried your last suggestion “Adb devices” but get the same error message "system/bin/sh: adb: inaccessible or not found“

I am also not able to enable the USB backend flag in Chrome: such a setting doesn’t seem to exist in my browser.

Any ideas what I could be doing wrong?

1 Like

Try using regular adb download it here. https://developer.android.com/tools/releases/platform-tools

Unzip it. Then in that folder type cmd in the top bar. That should open a command prompt. Then connect the kompakt and type adb devices. If the kompakt shows in the list then type the whole command

2 Likes

Yes, that did the trick! Thank you so much!!

By the way, the battery saver toggle can also be reached in developer options. Just search for ‘battery saver’ and there it is :slight_smile:

2 Likes

Oh ok thanks. I didn’t realize that. Now I don’t need that app

3 Likes