Mobian: 2 week as main phone
(05-09-2021, 11:52 AM)steves Wrote: 2. Sometimes the phone when it wakes from sleep will not see it's cell modem. Usually a reboot fixes this, but due to the above issue it can be rather aggravating.

I've been having the same problem. Haven't found the solution either.

(05-09-2021, 11:52 AM)steves Wrote: 6. Alarms don't work if the phone is asleep at the time it's suppose to go off.

There are a couple solutions to this. One is to use Wake Mobile like was kqInit suggested. I've used it successfully already (just got my phone last Friday).

Another is to make a systemd timer that periodically wakes the phone up, which then lets the Alarm app have a chance to activate the alarm periodically. Of course, its accuracy is limited by how often you wake it up (e.g. if you make your phone wake up every 15 minutes, then your alarm will be 0-15 minutes late depending on what you set it to). Adding the timer has the additional advantage that other apps on your phone can also check email and other messages periodically, which they can't do if the phone is asleep all the time. Note, other people have also used a timer for this purpose with success before me, which means that it is reasonably reliable. You need to make two files for the timer in the /etc/systemd/system directory. They should have the same basename but different prefixes. They would be

Description=Wake up the system to allow the alarm to work and check messages


Description=Wake up the system to allow the alarm to work and check messages

OnCalendar=*-*-* *:00,15,30,45:00


Where the "OnCalendar=*-*-* *:00,15,30,45:00" line indicates when it should go off. In my case, I have it set for every 15 minutes. Note the '*' for the year, month, day, and hour fields; the 00 for the second field; and the comma separated values for the minute field giving when it should go off. If you want to do a different interval, you will need to adjust this. I've set the accuracy field to a large value (m is for millisecond) because I don't need the timer to be more accurate than one second.

(05-09-2021, 11:52 AM)steves Wrote: If anyone's interested in the inhibit script here it is:

gnome-session-inhibit --inhibit 'idle:suspend' zenity --info --text "Inhibiting sleep. Press ok when ready to stop this"

Just make a .desktop file for it and give it an icon and you're good.

Thanks for the script.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Latest Reliable Mobian Build Confirmation Thread Katsujinken 5 283 09-27-2022, 08:41 AM
Last Post: Katsujinken
  phone does not ring (when sleeping) jsch 0 63 09-25-2022, 11:34 AM
Last Post: jsch
  Axolotl on PinePhone / Mobian arno_nuehm 188 82,637 09-12-2022, 02:55 AM
Last Post: Eugo
  Rescue Your Mobian post Update Aug22 faster fix to working guide biketool 9 713 09-05-2022, 12:10 AM
Last Post: biketool
  Lot of issues after flashing mobian to emmc with tow-boot benedikt55 5 395 08-30-2022, 01:14 PM
Last Post: benedikt55
  How to check which mobian build I am running jojuma 0 113 08-29-2022, 04:44 AM
Last Post: jojuma
  Loving latest Mobian Update drh 11 843 08-22-2022, 12:19 PM
Last Post: biketool
  Dark theme (on Mobian)? TRS-80 10 3,662 08-10-2022, 07:49 PM
Last Post: jurop88
  PP Keyboard doesn't charge Pinephone (Mobian) jojuma 1 203 08-06-2022, 01:10 AM
Last Post: elode
  DDing mobian to emmc or microSD not starting... Mr.Berzerk 2 196 08-05-2022, 06:09 PM
Last Post: mark1250

Forum Jump:

Users browsing this thread: 1 Guest(s)