![]() |
#1 |
Enthusiast
![]() ![]() Posts: 33
Karma: 114
Join Date: Feb 2023
Device: Kobo Libra 2
|
About sleep apks on Onyx Boox Note 2 Air
Hi good evening,
Just bought an used Onyx Boox Note 2 Air and my idea is to use it for taking notes at meetings, ebook reader, documents reading & music at home through bluetooth. I have already installed some apk, spotify, Moon+ Reader (i think reader at the boox is slighly better), dropbox, drive, onedrive and WPS Office to access to documents. My question comes from when i want to reproduce music through spotify using bluetooth. The problem comes when i do not touch the screen of the boox and it goes into sleep mode and so the music stops... Is there a way to avoid certain apks when in use not to go into sleep mode? Thanks!!! |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,818
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
There could be a couple of things going on here.
The first is whether the app uses a Wake Lock in the first place. The second is you have to go to Apps & notifications > Special app access > Battery optimization > All apps > YourApp > Not optimized (You can tell that they really want to make this accessible.) |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Enthusiast
![]() ![]() Posts: 33
Karma: 114
Join Date: Feb 2023
Device: Kobo Libra 2
|
Quote:
I already have it with the not optimized feature for the battery usage... still go to sleep after 5 min not touch the screen, and so music stops Any ideas? Last edited by mmc_meneses; 07-16-2024 at 03:11 AM. |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,818
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Wake locks can be tricky.
I have my own streamer for BBC World Service Since I am just using MediaPlayer, I have to disable battery optimization, but I don't have to deal with wake locks myself since apparently MediaPlayer handles that already. You can look at the AndroidManifest.xml in your app and see if they use any wake lock permissions. OTOH, Android has changed a lot of permissions so that you have to request them dynamically. |
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() ![]() Posts: 33
Karma: 114
Join Date: Feb 2023
Device: Kobo Libra 2
|
Quote:
Thanks |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,818
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Are you rooted? Do you know where the apk is? Can you copy it to /sdcard and then adb pull it?
Then you can use binxml.exe (in my sig) to pretty print AndroidManifest.xml Code:
C:\>binxml.exe spotify.apk > am.txt |
![]() |
![]() |
![]() |
#7 | |
Enthusiast
![]() ![]() Posts: 33
Karma: 114
Join Date: Feb 2023
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() ![]() Posts: 33
Karma: 114
Join Date: Feb 2023
Device: Kobo Libra 2
|
Ok i found the solution
Just under battery settings, the problem wasn't energy spotify settings, it bwas bluetooth that disconects when ebook sleeps, and if using any app that needs data you will have to do the same w the wifi settings and audio settings (for music) Problem solved Last edited by mmc_meneses; 07-16-2024 at 08:57 AM. |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,818
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Well, you could have tried using a USB Type C headphone adapter, either passive or active.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ended [EU] Onyx Boox Note air 2 | eReader fan | Flea Market | 1 | 01-20-2024 03:22 PM |
Sell ONYX BOOX Stylus Pen 2 PRO & ONYX BOOX Note Air Protective Sleeve | readandread | Flea Market | 0 | 03-08-2022 03:09 PM |
TWRP*on Onyx Boox Note Air ? | Émile | Onyx Boox | 0 | 09-29-2021 02:58 PM |
Onyx Boox Note Air+ | ayme08 | Onyx Boox | 25 | 07-19-2021 05:41 AM |
Rooting Onyx Boox Note Air | afainber | Onyx Boox | 8 | 01-04-2021 10:03 AM |