decibel-audio-player wakes up more than necessary, causing power consumption
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Decibel Audio Player |
Invalid
|
Undecided
|
Anonym25712 |
Bug Description
Hello François.
I've started powertop (sudo aptitude install powertop) to see how was my system going, and if it was possible for me to improve it, so it consumes less power, and the battery last more time.
And looking there, I've seen decibel has this:
5.2% ( 10.1) python : schedule_timeout (process_timeout)
(the process is python, since /usr/bin/
That means that it has ~ 10.1 wakeups per second. Although that's not a big number, it could be improved, and I won't be entirely happy until it doesn't have more than ~ 2 wakeups per second.
Take a look at http://
For animate you, know that liferea (a feed reader) had ~ 200 wakeups per second, because of an error. There was a function where the unit was microseconds, and the number was 5000 (thinking in miliseconds). But it was 500 microseconds, and that meant every second it waked up 200 times.
That was changed to 500, so it now wakes up ~ 2 times per second, which is Ok.
Maybe decibel is checking the library or something every 100 miliseconds... hope you know it!
Cheers,
Emilio
Changed in decibel-audio-player: | |
assignee: | nobody → athropos |
Hi,
Can you try to see if this isn't caused by GStreamer itself? You can use GStreamer from the CLI by using a command like this one:
gst-launch playbin uri=file: ///home/ ingelres/ Music/track. ogg