nova-video-player / aos-AVP

NOVA opeN sOurce Video plAyer: main repository to build them all
Apache License 2.0
3.35k stars 198 forks source link

Battery consumption #1086

Open Lucky390163 opened 7 months ago

Lucky390163 commented 7 months ago

Nova player is using much battery.It consumes 1 percent battery in 10 min.

While in other hand vlc consumes 1 percent battery in 41 min.Please see this my battery still not drained even it is 63% i am currently using.Screenshot_20240201_162205_Digital Wellbeing.jpg

courville commented 7 months ago

Could you please let me know if you watch video in "windowed mode" or fullscreen when you do the evaluation? Can you please also make sure software decoding is not enabled?

Lucky390163 commented 7 months ago

Nova player is using much battery.It consumes 1 percent battery in 10 min.

While in other hand vlc consumes 1 percent battery in 41 min.Please see this my battery still not drained even it is 63% i am currently using.Screenshot_20240201_162205_Digital Wellbeing.jpg

I have enabled thisScreenshot_20240201_162554_VLC.jpg

In any mode it drains.Even i usevonly hw mode
courville commented 4 weeks ago

I do not know if it is related but I found cases of scan in loops for scrape of video information that could lead to battery consumption. I fixed it some time ago (see https://github.com/nova-video-player/aos-MediaLib/commit/58ded7dc8ea4d285c17d8278070882d8ba68a62f and https://github.com/nova-video-player/aos-MediaLib/commit/5f6fa3c80e433524be4e6ef83fc5e2d439b271e8). Perhaps it was related to this issue.