Ask / Submit
7

Overnight sleep function.

asked 2016-11-30 19:57:38 +0200

DarkTuring gravatar image

updated 2016-12-01 23:38:09 +0200

Sailfish OS should put all but the most essential processes to sleep during the night when the display is off, accelerometer and compass doesnt detect any changes, and the phone is NOT being charged. The exception of course would be:

  1. playing music processes
  2. bluetooth connected speakers
  3. wifi connections
  4. phone is being charged
  5. security related processes (VPN, Virus scanner, Blocker, Spam Control, Host List update etc)

Processes that would normally run or are scheduled to run from Android or SFOs should be qued until the morning when phone wakes due to alarm, being moved, or the display being turned on.

In addition, a sleep setting for each day could approximate sleep times.

As the following illustrates my phone discharges consistently over night then dies.

Phone battery drain over night

Here you see about a 50% power consumption reduction due to my situations app settings turning everything off during sleep. Compare slope reduction

edit retag flag offensive close delete

Comments

What if someone wants to reach me with an urgent Skype call in the middle of the night? Or a Whatsapp message?

Federico ( 2016-12-02 16:32:30 +0200 )edit

@Federico that is a valid concern and maybe 2G or 3G voice only could remain on during the night and as i remember the iPhone will unmute on repeated calls from same number. This could be a setting that repeated message, or call attempts activate all the network modems on the phone and put it back to normal mode until for say 30min and ypu stopped using the phone.

DarkTuring ( 2016-12-02 17:52:59 +0200 )edit

1 Answer

Sort by » oldest newest most voted
9

answered 2016-11-30 21:24:27 +0200

naytsyrhc gravatar image

There is an app called Situations, which can do exactly that. E.g. I have a situation called "at home" based on my wifi access point and I have a situation called "asleep" that is active if I am "at home" and time is between 0:15 and 6:30 and display is off. During that situation, my phone is set to powersaving mode, flight mode and silent. Due to these two situations, I'm sure that my phone will switch to lowest power consumption while I'm most probably asleep and that it will not cutoff while I'm out or still using it.

edit flag offensive delete publish link more

Comments

@naytsyrhc very nice app! i messaged the developer to add functions i was looking for:

  1. change GPS settings,
  2. pause processes,
  3. when handling phone,
  4. situations based on connected WIFI network,
  5. option to connect to internet.
DarkTuring ( 2016-11-30 23:01:15 +0200 )edit

@naytsyrhc so i have played with the situations app the last couple days and had to deactivate it, it kept disconnecting my mobile data even when not setting any preferences on mobile data or setting preference for mobile data on. Its basically incompatible with SFOS 2.0.5.6 at this point.

DarkTuring ( 2016-12-02 21:55:37 +0200 )edit

I'd say this is a problem with Turing phone and SFOS 2.0.5.6 then (you have a turing, haven't you?). I'm using the Jolla 1 and am not experiencing any such problems (also on 2.0.5.6).

naytsyrhc ( 2016-12-03 00:22:57 +0200 )edit

@naytsyrhc yes i do and you are probably right, i just want to get the most out of the battery without turning off alien dalvik since i have to use some android apps. I wonder if Jolla can steamline the power settings a little more of the hardware integration. After all under their licensing model many different gadgets will be thrown their way and power management is a most critical aspect. It seems Jolla can manage it well when they control the hardware Jolla 1, now it waits to be seen if other phones perform as well.

DarkTuring ( 2016-12-05 21:24:23 +0200 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2016-11-30 19:57:38 +0200

Seen: 427 times

Last updated: Dec 01 '16