podcast shuts down after 10 minutes or perhaps bluetooth
#1
I am running the podcast app and listening to hour long shows.
If I allow the screen to go dark (blank) after about 10 minutes the audio to the bluetooth announces disconnected.

However if I keep the screen active 100% of the time things work fine.

Though this burns through the battery unnecessarily.

What can I do to keep the bluetooth from being disconnected while the screen is blanked?
  Reply
#2
(06-18-2021, 12:34 AM)motox6 Wrote: I am running the podcast app and listening to hour long shows.
If I allow the screen to go dark (blank) after about 10 minutes the audio to the bluetooth announces disconnected.

However if I keep the screen active 100% of the time things work fine.

Though this burns through the battery unnecessarily.

What can I do to keep the bluetooth from being disconnected while the screen is blanked?
You can either disable suspend in the power settings or start the app this way:
Code:
gnome-session-inhibit --inhibit suspend gnome-podcasts

Edit: You may want to replace the gnome-podcasts command with the command for the app you are using in case it's a different one or with --inhibit-only to inhibit suspend generally (not just while a specified app is running).
  Reply
#3
I use the flatpak version of podcasts.

I modified:

/var/lib/flatpak/exports/share/applications/org.gnome.Podcasts.desktop

with

Exec=gnome-session-inhibit --inhibit /usr/bin/flatpak run --branch=stable --arch=aarch64 --command=gnome-podcasts org.gnome.Podcasts

The podcast, bluetooth, wifi, basically everything, still shuts down after 10 minutes.
  Reply
#4
(06-22-2021, 12:47 AM)motox6 Wrote: I use the flatpak version of podcasts.

I modified:

/var/lib/flatpak/exports/share/applications/org.gnome.Podcasts.desktop

with

Exec=gnome-session-inhibit --inhibit /usr/bin/flatpak run --branch=stable --arch=aarch64 --command=gnome-podcasts org.gnome.Podcasts

The podcast, bluetooth, wifi, basically everything, still shuts down after 10 minutes.
I noticed that too with Gnome Podcasts (not flatpak, but from Manjaro repos). I think it has something to do with Podcasts being started as "gnome-podcasts --gapplication-service" when started with the desktop file. It doesn't seem to take the new exec command. If I start it by entering the exec command in the terminal, it works. I tried adding gnome-session-inhibit to other desktop files and that worked too.
  Reply
#5
(06-22-2021, 01:05 AM)kqlnut Wrote:
(06-22-2021, 12:47 AM)motox6 Wrote: I use the flatpak version of podcasts.

I modified:

/var/lib/flatpak/exports/share/applications/org.gnome.Podcasts.desktop

with

Exec=gnome-session-inhibit --inhibit /usr/bin/flatpak run --branch=stable --arch=aarch64 --command=gnome-podcasts org.gnome.Podcasts

The podcast, bluetooth, wifi, basically everything, still shuts down after 10 minutes.
I noticed that too with Gnome Podcasts (not flatpak, but from Manjaro repos). I think it has something to do with Podcasts being started as "gnome-podcasts --gapplication-service" when started with the desktop file. It doesn't seem to take the new exec command. If I start it by entering the exec command in the terminal, it works. I tried adding gnome-session-inhibit to other desktop files and that worked too.

Is it that the pinephone is set to go to standby after 10 min on battery?
I suppose we need to optimize audio apps to force keep-awake but minimize CPU and mostly use audio processor, especially when in locked mode.
This podcast app is something we need on the repos, it is one of the things(and battery life in stable kernel) keeping my pinephone from replacing my N900 and being my everyday device.
I put Panucci in the recommend apps(I use it on my N900, it is FOSS and I can compile it for current desktop Debian AMD64.)
https://wiki.mobian-project.org/doku.php?id=wishlist
I dont love flatpack or snap and prefer to stick with apt packages.
(edit)
I installed this on desktop and it is definitely a podcast specific app and not also an audiobook player like Panucci.
  Reply
#6
Settings -> Power -> Automatic Suspend -> When on battery Power -> Delay ... is the one that is killing the bluetooth and audio.
I set it to 1 hour.

The inhibit feature mentioned earlier has no effect.
  Reply
#7
(06-25-2021, 06:36 PM)motox6 Wrote: Settings -> Power -> Automatic Suspend -> When on battery Power -> Delay ... is the one that is killing the bluetooth and audio.
I set it to 1 hour.

The inhibit feature mentioned earlier has no effect.
Yes, that's the setting for suspend. Have you tried starting the podcast app with the gnome-session-inhibit command in the terminal? That successfully disables suspend for Gnome Podcasts for me.
  Reply
#8
It happens to me too, but strangelly only with gnome-podcasts ( I am using the flatpak, waiting to it to be in the debian repos) with music apps like lollypop it works without stoping after suspension.
  Reply
#9
(09-15-2021, 06:52 AM)user641 Wrote: It happens to me too, but strangelly only with gnome-podcasts ( I am using the flatpak, waiting to it to be in the debian repos) with music apps like lollypop it works without stoping after suspension.

https://gitlab.gnome.org/World/podcasts/-/issues/232

It's supposed to be fixed in the flatpak, so if it's still happening it's worth following up with them to get it sorted.
  Reply
#10
(09-16-2021, 09:21 AM)wibble Wrote:
(09-15-2021, 06:52 AM)user641 Wrote: It happens to me too, but strangelly only with gnome-podcasts ( I am using the flatpak, waiting to it to be in the debian repos) with music apps like lollypop it works without stoping after suspension.

https://gitlab.gnome.org/World/podcasts/-/issues/232

It's supposed to be fixed in the flatpak, so if it's still happening it's worth following up with them to get it sorted.

Thanks for the info, but it says " It should be fixed in the current beta version and the next release"
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Bluetooth audio revisited 3x5co 1 1,435 01-10-2023, 05:51 PM
Last Post: Zebulon Walton
  Any fix for bluetooth crash when entering pairing password? kk22 0 1,079 06-18-2022, 07:51 PM
Last Post: kk22
  Blueman GUI Bluetooth Network Access Point - fixing Bridging biketool 12 10,621 05-26-2022, 05:56 AM
Last Post: biketool
  Scripting Bluetooth Hotspot for Mobian biketool 1 1,852 03-20-2022, 03:03 PM
Last Post: biketool
  Bluetooth audio support? Zebulon Walton 5 4,511 02-28-2022, 08:59 AM
Last Post: Zebulon Walton
  Pinephone shuts itself down d-.-b 5 3,984 01-29-2022, 04:31 PM
Last Post: user641
  Podcast about mobian user641 0 1,064 01-05-2022, 04:06 PM
Last Post: user641
  File Transfer With Bluetooth food 0 1,242 10-29-2021, 11:00 AM
Last Post: food
  Can't connet to car audio using bluetooth Barugon 1 1,898 10-16-2021, 01:42 PM
Last Post: Zebulon Walton
  Is there a better audio / podcast player? motox6 15 15,975 08-24-2021, 04:08 PM
Last Post: ragreenburg

Forum Jump:


Users browsing this thread: 1 Guest(s)