citra-android icon indicating copy to clipboard operation
citra-android copied to clipboard

Emulator uses power in background

Open neversphere opened this issue 4 years ago • 10 comments

Version: 7966294b6 (I got this number from the upper left hand corner of the main menu)

Android Version: 10 Phone: Pixel 3

Problem:

  • Citra uses a considerable amount of battery while in the background

Way to reproduce:

  • Launch game
  • Move to other application on phone

Result:

  • Citra continues to run in the background and use lots of power

Expected result:

  • Citra suspends and stops draining power.

Analysis of android system bugreport for power issues:

org.citra.citra_emu: wakelock < AudioMix > was stuck wakelock < AudioIn > was stuck

neversphere avatar Jun 10 '20 23:06 neversphere

Most likely this is a dupe of https://github.com/citra-emu/citra-android/issues/43

neversphere avatar Jun 10 '20 23:06 neversphere

It will be. It's a feature so it won't be killed in the background.

Lxoric avatar Jun 11 '20 00:06 Lxoric

The feature used 70% of my battery in 4 hours.

neversphere avatar Jun 11 '20 01:06 neversphere

Perhaps it could be behind an option?

neversphere avatar Jun 11 '20 01:06 neversphere

Then close it if you don't play the game. So far citra doesn't have suspend and resume. So when you dont play close the citra.

Lxoric avatar Jun 11 '20 02:06 Lxoric

It's certainly unexpected that an application will drain this much battery in this manner while in the background.

neversphere avatar Jun 11 '20 04:06 neversphere

It will be since it wasn't suspended. Just like what I've said Citra doesn't have suspend and resume so keeping it to Bg will keep the cores busy.

Lxoric avatar Jun 11 '20 05:06 Lxoric

Understood. Perhaps a persistent notification mentioning battery drain then? It might be lost in the clutter but this was certain an unexpected outcome battery life wise.

On Wed, Jun 10, 2020 at 10:35 PM Lxoric [email protected] wrote:

It will be since it wasn't suspended. Just like what I've said Citra doesn't have suspend and resume so keeping it to Bg will keep the cores busy.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/citra-emu/citra-android/issues/154#issuecomment-642418900, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBO4ETTAYRTRL3H765AL3DRWBUK5ANCNFSM4N24VLWA .

neversphere avatar Jun 11 '20 05:06 neversphere

It's there so that citra won't be killed.

Lxoric avatar Jun 11 '20 05:06 Lxoric

Just use no background process in developer Setting

theOG1 avatar Dec 01 '20 16:12 theOG1