AIMP Forum
AIMP for Android => Вопросы / Questions => Topic started by: Rfx9123 on November 04, 2023, 13:50:00
-
Hi, Artem, with testing the last beta (v. 4.05.1378 from October 27th, 2023), when you start AIMP, a window will be displayed indicating that battery optimization is active. Can you switch off this notice even when optimization is active?
-
Can you switch off this notice even when optimization is active?
No, this notification appears only if app was KILLED during playback by optimizer, that is not normal behavior.
-
:) Thanks, I cleared the cache, uninstalled AIMP, restarted the device and reinstalled AIMP. Now everything is working again. It's fun to listen to music with the app.
-
Sorry Artem, but it seems to be a problem with all versions starting from 4.05. to be. This notice mentioned above only applies from version 4.05. on, including 4.05.1393. I have completely reinstalled all versions that have been released in the meantime, deleting the cache and old data beforehand.
In addition, the battery consumption with the newer versions is almost 3 times as high. My iBasso DX160 (Android 8.1) now thinks that the battery no longer lasts 4 hours.
For now, I've jumped back to version 4.02.1368, where these problems haven't occurred yet.
-
In addition, the battery consumption with the newer versions is almost 3 times as high.
What is your device? I unable to reproduce this behavior on my devices
-
What is your device?
HiRes-Player iBasso DX160 with Android 8.1 from 2020.
-
HiRes-Player iBasso DX160 with Android 8.1 from 2020.
Oops. I miss it...
But what about real power consumption?
Have you disabled battery optimization for the app?
-
Hello, I have always activated battery optimization for AIMP in order to get the maximum gaming time out of my DX160. There were no problems with this until version 4.02.1368. When I use AIMP, the consumption is approx. 10% per hour with headphones plugged into the phone out. This gives me 7-8 hours until the next charge with 20% remaining capacity.
With versions from 4.0.5.xxxx the power consumption seems to increase so much that this message appears. Although AIMP seems to continue to work without any visible restrictions after the message has been hidden, I have already started looking for a solution. I saw under "Battery" with AIMP 4.05.1393 running that at 100% capacity only about 3 hours of playing time are possible. It's a good thing that there is this backup of the settings, so changing the versions can be done very quickly.
-
4.05 introduced just few small enhancements for music library, I have no idea why 4.02 vs 4.05 works so different on your device
-
Looking at the change log, I notice these points that might trigger this reaction:
+ General: detection and notification about background playback restrictions
+ General: memory consumption has been reduced
- Fixed: issues from incoming crash-reports
The first point is probably not compatible with the system. The system is probably rocking up here. Could you add a switch-off function here? Regarding the second point, I'm not sure if this means the RAM or the storage for installing the app?
The third point could also cause reactions with increased energy consumption if changes made are incompatible.
-
This thing just detects that app was killed during playback. In this case, app asks OS if battery optimization is switched on. If so, app displays the warning. That's all.
How it works? App creates temp file on playback start and delete it on exit. So, if file exists on app start that's mean that app wasn't finished correctly. Nothing complex or high load...
Memory (RAM) consumption and bugs fixing doesn't affect to power consumption
-
I saw under "Battery" with AIMP 4.05.1393 running that at 100% capacity only about 3 hours of playing time are possible
What file formats you playing? What quality of audio stream? I found a HiBy R5 (portable player, not phone), let me some time to take results
-
I only have MP3 files of 192 Kbps - 320 kbps. My guess is that the newly added battery optimization query is counterproductive and AIMP is trying to bypass this in-system optimization. In any case, I consciously switched it on and would like to leave it that way.
-
My guess is that the newly added battery optimization query is counterproductive and AIMP is trying to bypass this in-system optimization
No, it sounds so strange... anyway, this query is sent only if app detects that it was killed.
-
I agree with you, on the one hand AIMP continues to play without any problems, apart from the higher energy consumption that has only now been discovered (at least in the last stable version 4.05.), and on the other hand the battery optimization remains switched on. The only question would be whether the optimization is still active or is just displayed as active. I wish you and the team a nice weekend and have a good new year.
-
Here are pictures again with the difference in energy consumption between version 4.02.1368 and version 4.05.1393. I installed the latest version again today especially for comparison.
-
Это не реальное потребление АИМП
Это прогноз системы на основе среднего потребления за несколько часов
-
It's due to AIMP, because I was able to reproduce this behavior several times with the higher energy consumption. That's why I've only now brought this topic up again.
-
Testing stand:
mp3, 320 kbps, 2 hours of playback in background mode (app minimized, screen is off)
Here are my results:
v4.02.1368: 44% -> 37%
v4.05.1376: 37% -> 30%
v4.05.1388: 60% -> 53%
v4.05.1393: 48% -> 42%
So, as you can see, power consumption is almost equal.
-
First of all, a happy new year. It probably also depends on the device and how the audio files are processed internally. iBasso advertises that it hands over the processing of the hardware, its bypassing Android SRC restrictions.
By the way, I don't use AIMP in the background, I just turn off the screen to quickly get back into the app, for example to change the playlist. "AIMP" is the only app I use for music, alongside the rarely used app "Radionator". I have deactivated all other Android apps (Google) that are not necessary for a media player so that they are no longer active in the background.