We have moved to a new Sailfish OS Forum. Please start new discussions there.

Jolla was booted after dismissed alarm

asked 2015-02-02 11:52:27 +0300

lakutalo gravatar image

updated 2015-02-02 12:48:39 +0300

Having dismissed the alarm today, I actually managed to turn on Jolla from turned-off status. I do not really know how, but I first tried to dismiss and failed. Second attempt succeeded and Jolla was unexpectedly booted.

I will try to reproduce this behaviour.

Since it regrettably is not a feature I call it a bug.

I would rather it was a feature, as requested here: https://together.jolla.com/question/28517/turn-on-jolla-from-the-alarm/

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted

answered 2015-02-09 12:48:49 +0300

spiiroin gravatar image

The phone boots to act dead to show the alarm based on boot reason being = rtc. If the device happens to reboot while already in act dead, boot reason is probably something else -> boots to ui.

So most likely explanation is that this is just a side effect of something else going wrong.

edit flag offensive delete publish link more


Is there something I could look for to support you with more information?

lakutalo ( 2015-02-09 13:40:19 +0300 )edit

@lakutalo: If you still remember when it happened, getting the entries around that time from /var/log/systemboot.log could be useful.

spiiroin ( 2015-02-09 17:17:52 +0300 )edit

So it does actually act exactly like N9.

I'd say it is fairly easy then to make that behaviour configurable; if user wants to wake up the device on an alarm just check the boot reason in startup and override it if so desired to het the full UI

juiceme ( 2015-02-10 09:39:58 +0300 )edit

@juiceme: I'm assuming that you are talking about "power up after" alarm feature - for that the changes are needed to alarm ui and possibly timed (dsme shuts down from act dead mode immediately after there is no reason to stay in there - in this case: when alarms are dealt with -> the sw stack above it needs to change the target mode to user before declaring all alarms dismissed). Overriding boot reason is not needed.

spiiroin ( 2015-02-10 11:23:49 +0300 )edit

@spiiroin I was thinking of a quickfix; just patch init so that it checks for a toggle if user wants to wake the device up on alarm event, and if it is active then proceed like bootreason=pwr_key (or the equal state on Jolla)

There'd be no need on the alarm UI to select whether to boot it up or shut it down, that would be a specific setting alltogether.

juiceme ( 2015-02-10 12:36:23 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2015-02-02 11:52:27 +0300

Seen: 214 times

Last updated: Feb 09 '15