Mobian, Suspend, and Audio Playback
#1
I have had a pocket linux device in use since around Y2k starting with a Sharp Zaurus SL-5500 on to an Openmoko, then the N900.
One of the most important purposes of these devices was to play audiobooks when driving, cycling, working, or riding public transportation.
On all other devices I was able to get at least 5-8 hours of audiobook playback minimum along with other uses of the device, even with the Openmoko which like the Pine devices didn't have a major corporate Linux lab supporting the effort.
The pinephone(and pro) under mobian gives me around 3 hours maximum as suspend also kills off audio playback.
This severely limits my use of the PP if I cannot provide external power.
I know there are several ways to except the hardware audio acceleration chip from suspend and buffer only the audio stream as well as waking only one of the smaller CPUs for a fraction of a second to do a disk read and reload the audio buffer.
I am not sure how it was done on the N900 but I am sure someone on the forum has better insight into a power saving way to keep a streaming audio app working even when the system is in suspend, even if it is a lower level system hack.
<edit>
For example I can go most of the day dropping to ~80% battery if I don't use my phone much, I can still reliably receive calls and SMS but have it set to suspend after 1 minute. Same Mobian Trixie install drops to 30-40% after 2 hours if I set suspend to 30 minutes but blank the screen so I can listen to an audiobook on the bus/train. Once the 30 minutes are up if I have not touched the phone the audio playback will stop and I have to restart the Cozy(flatpak install) audiobook app to get it's audio to work.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobian Bulleyes aberrio 0 78 12-16-2024, 08:27 AM
Last Post: aberrio
  Upgrade to Mobian (Trixie) Staging biketool 12 686 12-06-2024, 05:46 PM
Last Post: vusra
  Suspend functionality broken? grump_fiddle_reinstall 4 215 12-05-2024, 08:03 PM
Last Post: Kevin Kofler
  how to update mobian over tor vusra 14 9,483 12-04-2024, 07:01 PM
Last Post: vusra
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 41 9,475 11-27-2024, 10:39 AM
Last Post: fernando_c_m
  atinout binaries for mobian/debian? NeutralGrey 4 1,525 10-31-2024, 04:16 AM
Last Post: astylethargic
  Unable to wake up from suspend xavi92 6 2,849 07-28-2024, 02:48 PM
Last Post: dchang0
  Audio output switching anomalies treebeard 1 1,034 06-10-2024, 06:37 AM
Last Post: anonymous
  Mobian-Kicksecure? 3460p 0 919 05-26-2024, 02:09 PM
Last Post: 3460p
  Mobian repository status henrythemouse 16 12,446 04-10-2024, 10:02 AM
Last Post: diederik

Forum Jump:


Users browsing this thread: 1 Guest(s)