HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: punkrockdude on 2019-02-02 08:59:54

Title: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: punkrockdude on 2019-02-02 08:59:54
I compared DDB2 and Foobar2000 mobile playing the same album using equalizer and replaygain on Android 8.1. The file format was musepack and at the end of the album DDB2 had used 8% battery and Foobar2000 mobile had used 15%. The phone was in battery saving mode the whole time and the screen was turned off and the volume was the same. What might the reason be for the almost double battery usage when using Foobar2000 mobile? Why I did this test is because if I charge my phone fully it will be completely drained by the time my eight hour work day is over and it looks like for the time being I will be using DDB2 because of this but I wish to get back to Foobar2000 mobile as soon as it uses way less battery.
Title: Re: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: Rollin on 2019-02-02 13:10:42
Maybe, difference is caused by equalizer. Can you test without it?
Title: Re: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: punkrockdude on 2019-02-02 20:56:44
I noticed that the first test also had downmix channels to mono enabled so I deactivated it and also the equalizer but now the battery usage was more (24%).
Title: Re: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: kode54 on 2019-02-03 03:15:45
On which device is a simple float to integer conversion operation so expensive?
Title: Re: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: punkrockdude on 2019-02-03 09:17:02
I have a Nexus 5X.
Title: Re: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: Peter on 2019-02-03 14:12:26
Thanks for taking your time to document the battery usage. I will see what I can do about it for a future update.
Title: Re: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: Peter on 2019-02-03 15:58:37
One more thing: if you could please try toggling OpenSL output in advanced settings and check the impact on the battery life then. There's a chance that OpenSL will use less battery power, but it can't be enabled by default as it doesn't work correctly on specific old devices.
Title: Re: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: punkrockdude on 2019-02-03 18:48:11
I have been using OpenSL enabled but I can try once without it.
Title: Re: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: punkrockdude on 2019-02-03 20:02:09
Without eq, downmix to mono and using no OpenSL it used 23%.
Title: Re: Foobar2000 Mobile use twice the battery compared to DDB2.
Post by: punkrockdude on 2019-02-05 16:46:33
I tried VLC with its equalizer enabled and it only used about 5-7%. The proböem with VLC though is that it doesnt't have a 15 band graphical eq and mono output.