Your rating: None Average: 4.7 (17 votes)

a shakeable sleep timer for media players on SailfishOS
Slumber is a sleep timer program for SailfishOS with sensors support.

This means you can use the accelerometer or proximity sensor to reset the timer if the display is lit: Just place your device on your bed and slap the mattress in it's general direction to reset the timer. You can enable a notification to wake your display or, on some devices, use "double tap to wake".


You can pause:

  • Local media (using MPRIS2)
  • Network players (Kodi, VLC)

If you're still awake, you can reset the timer a bunch of ways:

  • Accelerometer (shake it)
  • Proximity sensor (wave your hand)
  • Smartwatch control (Amazfish integration for some watch models)
  • By just pausing/starting the media player. (Useful for Headphones with remote control)

There are a lot of other options available for the end of the timer duration, for example:

  • Pause local media (obviously) and Kodi/VLC over wifi
  • Fade out media volume (and reset it afterwards)
  • Play a sound effect at the end of the timer to let you know it runs out
  • Disconnect Bluetooth headphones (or all BT devices)
  • Enter airplane mode
  • … and more.

Known restrictions

  • Does not work in Sailfish Browser
  • Sensors won't work when Display is off. But there is an option to keep it on while the timer runs. Also, you can enable a notification to turn the display on again.
  • Phone Vibration might trigger Accelerometer. (Well…)

Want to help?
Please let me know if it works for your favourite player and feel free to discuss:
You can send bug reports & pull requests on github!
Help me translate slumber to your language at

Application versions: 
File harbour-slumber-0.15-1.armv7hl.rpm1.07 MB03/02/2023 - 00:27
File harbour-slumber-0.15-1.aarch64.rpm1.07 MB03/02/2023 - 00:27
File harbour-slumber-0.15-1.i486.rpm1.08 MB03/02/2023 - 00:27
File harbour-slumber-0.14-3.armv7hl.rpm1005.82 KB13/05/2022 - 15:26
File harbour-slumber-0.14-3.aarch64.rpm1.01 MB13/05/2022 - 15:26
File harbour-slumber-0.14-3.i486.rpm1013.25 KB13/05/2022 - 15:26
File harbour-slumber-0.14-2.armv7hl.rpm1011.87 KB04/06/2021 - 17:22
File harbour-slumber-0.14-2.aarch64.rpm1.01 MB04/06/2021 - 17:22
File harbour-slumber-0.14-2.i486.rpm1019.66 KB04/06/2021 - 17:22
File harbour-slumber-0.14-1.armv7hl.rpm1 MB10/05/2021 - 00:00
File harbour-slumber-0.14-1.aarch64.rpm1 MB10/05/2021 - 00:00
File harbour-slumber-0.14-1.i486.rpm1.01 MB10/05/2021 - 00:00
File harbour-slumber-0.13-5.armv7hl.rpm1005.77 KB21/02/2021 - 21:41
File harbour-slumber-0.13-5.i486.rpm1011.95 KB21/02/2021 - 21:41
File harbour-slumber-0.13-5.aarch64.rpm1.01 MB21/02/2021 - 21:41
File harbour-slumber-0.12-2.armv7hl.rpm490.7 KB06/01/2020 - 02:43
File harbour-slumber-0.12-2.i486.rpm492.49 KB06/01/2020 - 02:43
File harbour-slumber-0.12-1.armv7hl.rpm489.51 KB14/11/2019 - 23:18
File harbour-slumber-0.12-1.i486.rpm491.57 KB14/11/2019 - 23:18
File harbour-slumber-0.11-2.armv7hl.rpm487.88 KB19/05/2019 - 16:36
File harbour-slumber-0.11-2.i486.rpm490.27 KB19/05/2019 - 16:36
File harbour-slumber-0.10-1.armv7hl.rpm480.67 KB19/02/2019 - 01:29
File harbour-slumber-0.10-1.i486.rpm484.97 KB19/02/2019 - 01:29
File harbour-slumber-0.9-2.armv7hl.rpm391.8 KB04/02/2019 - 00:52
File harbour-slumber-0.9-2.i486.rpm392.52 KB04/02/2019 - 00:52
File harbour-slumber-0.9-1.armv7hl.rpm390.11 KB15/01/2019 - 01:33
File harbour-slumber-0.9-1.i486.rpm392.05 KB15/01/2019 - 01:33
File harbour-slumber-0.8-5.armv7hl.rpm332.81 KB05/01/2019 - 12:41
File harbour-slumber-0.8-5.i486.rpm334.19 KB05/01/2019 - 12:41
File harbour-slumber-0.8-4.armv7hl.rpm332.96 KB05/01/2019 - 12:10
File harbour-slumber-0.8-4.i486.rpm334.19 KB05/01/2019 - 12:10
File harbour-slumber-0.8-3.armv7hl.rpm329.21 KB03/09/2018 - 12:24
File harbour-slumber-0.8-3.i486.rpm330.24 KB03/09/2018 - 12:24
File harbour-slumber-0.8-2.armv7hl.rpm328.02 KB16/02/2018 - 01:26
File harbour-slumber-0.8-2.i486.rpm329.29 KB16/02/2018 - 01:26
File harbour-slumber-0.7-1.armv7hl.rpm324.1 KB22/03/2017 - 21:28
File harbour-slumber-0.7-1.i486.rpm325.89 KB22/03/2017 - 21:28
File harbour-slumber-0.6-3.armv7hl.rpm317.37 KB05/03/2017 - 20:14
File harbour-slumber-0.6-3.i486.rpm317.25 KB05/03/2017 - 20:14
File harbour-slumber-0.6-2.armv7hl.rpm315.43 KB11/02/2017 - 16:09
File harbour-slumber-0.6-2.i486.rpm315.56 KB11/02/2017 - 16:09
File harbour-slumber-0.6-1.armv7hl.rpm314.12 KB22/01/2017 - 21:21
File harbour-slumber-0.6-1.i486.rpm314.03 KB22/01/2017 - 21:21
File harbour-slumber-0.5-6.armv7hl.rpm314.25 KB14/01/2017 - 12:07
File harbour-slumber-0.5-6.i486.rpm314.12 KB14/01/2017 - 12:07
File harbour-slumber-0.5-5.armv7hl.rpm314.15 KB11/01/2017 - 23:11
File harbour-slumber-0.5-5.i486.rpm314.09 KB11/01/2017 - 23:11
File harbour-slumber-0.5-4.armv7hl.rpm313.88 KB27/12/2016 - 01:19
File harbour-slumber-0.5-4.i486.rpm313.95 KB27/12/2016 - 01:19
File harbour-slumber-0.5-3.armv7hl.rpm314.04 KB25/12/2016 - 03:02
File harbour-slumber-0.5-3.i486.rpm314.19 KB25/12/2016 - 03:02
File harbour-slumber-0.5-2.armv7hl.rpm311.8 KB24/12/2016 - 00:55
File harbour-slumber-0.5-2.i486.rpm311.87 KB24/12/2016 - 00:55
File harbour-slumber-0.5-1.armv7hl.rpm309.88 KB22/12/2016 - 02:57
File harbour-slumber-0.5-1.i486.rpm309.73 KB22/12/2016 - 02:57
File harbour-slumber-0.4-5.armv7hl.rpm309.75 KB03/01/2016 - 03:17
File harbour-slumber-0.4-5.i486.rpm309.7 KB03/01/2016 - 03:17
File harbour-slumber-0.4-4.armv7hl.rpm307.88 KB04/12/2015 - 17:15
File harbour-slumber-0.4-4.i486.rpm307.84 KB04/12/2015 - 17:15
File harbour-slumber-0.4-3.armv7hl.rpm304.23 KB22/11/2015 - 01:38
File harbour-slumber-0.4-3.i486.rpm304.29 KB22/11/2015 - 01:38
File harbour-slumber-0.4-2.armv7hl.rpm303.4 KB13/11/2015 - 20:12
File harbour-slumber-0.4-2.i486.rpm303.6 KB13/11/2015 - 20:12
File harbour-slumber-0.4-1.armv7hl.rpm284.31 KB12/11/2015 - 03:48
File harbour-slumber-0.4-1.i486.rpm284.32 KB12/11/2015 - 03:48
File harbour-slumber-0.3-2.armv7hl.rpm281.74 KB29/10/2015 - 02:04
File harbour-slumber-0.3-2.i486.rpm281.48 KB29/10/2015 - 02:04
File harbour-slumber-0.3-1.armv7hl.rpm280.15 KB28/10/2015 - 09:42
File harbour-slumber-0.3-1.i486.rpm280.35 KB28/10/2015 - 09:42

* Thu Feb 02 2023 velox 0.15-1
- SFOS 4.5 only! (sorry.)
- bugfix: handle changed duration formatter in sfos 4.5
- bugfix: remove incompatible arguments (busybox) for privileged actions
- bugfix: handle changed bluetooth audio identifier in sfos 4.5
- maintenance: update transifex config format
- maintenance: update github action for sfos 4.5
- translation update pl (thank you, atlochowski!)

* Fri May 13 2022 velox 0.14-3
- bugfix: more privileged launcher changes
- bugfix: opt out of sailjail

* Fri Jun 04 2021 velox 0.14-2
- bugfix: change ofono privileged action to work with busybox environment
- maintenance: change github CI build

* Sun May 09 2021 velox 0.14-1
- feature: D-Bus call for manually triggering/stopping the running timer
- enhancement: Stop timer if finish actions are triggered manually
- enhancement: Don't restore Volume if it hasn't been faded out (manual trigger)

* Sun Feb 21 2021 0.13-5
- feature: user-settable finalize duration (instead of 10s)
- feature: reset by amazfish watch music app activation
- feature: ofono restart privileged action
- feature: new options pages
- enhancement: better/looping sound effects
- enhancement/bugfix: new timeout action queue (fixes volume restore with BT disconnect)
- performance: a lot of optimizations
- performance: migrate some stuff to c++

* Mon Jan 06 2020 0.12-2
- enhancement: support changed Amazfish 1.0 interface
- translation updates sl, ru (thanks, translation team!)

* Thu Nov 14 2019 0.12-1
- bugfix: fix settings page for volume restoration
- feature: add simple dbus interface
- a lot of translation updates (thanks, translation team!)

* Sun May 19 2019 0.11-2
- feature: reset timer with button press on Amazfish-connected device
- feature: optional second Kodi action: Suspend/Shutdown (Not supported on every Kodi configuration)
- feature: disconnect (audio) bluetooth devices without fully shutting down BT
- enhancement: enable "quick select" for main page pull menus
- bugfix/enhancement: support Kodi 18 (leia) API change
- appearance: move notification setting to "Actions" settings page
- appearance: make "playback detected" notification inline
- some translation updates (thank you, translation team!)

* Sun Feb 18 2019 0.10-1
- packaging/meta data: OBS compatibility
- user request: main page hint font size increased (previously hard to read in chinese)
- enhancement: restore volume faster on cancel
- many translation updates
- enhancement: add 172x172 icon
- feature: replace BT action with privileged actions

* Sun Feb 03 2019 0.9-2
- bugfix: fix broken translations
- bugfix: only disable bluetooth after volume is restored
- translation updates: es/zh/fr/nl/nl_be/sl
- enhancement: always reset volume while canceling (even if reset not enabled)
- enhancement: only trigger "void" fallback after mpris handling is done

* Mon Jan 14 2019 0.9-1
- new option: detect playback (mpris) to start timer
- audio: optimize clock sound effect (more click, less noise)
- feature: re-introduce bluetooth disable action
- performance: some minor refactoring
- dev convenience: rename translations

* Sat Jan 05 2019 0.8-5
- enhancement: reset volume a bit later (for slower players like hutspot)

* Sat Jan 05 2019 0.8-4
- enhancement: query dbus for any active mpris players
- appearance: cover font (secondary) color change
- translation updates: nl/nl_be
- new Translation: zh (thanks rui kon)

* Mon Sep 03 2018 0.8-3
- remove bluetooth switch (blocked in current SFOS)
- added notification option to switch on display
- appearance: change cover font color
- translation updates

* Thu Feb 08 2018 0.8-2
- new translations: Italian (thanks fravaccaro) & French (thanks lutinotmalin)
- add more translators to about page

* Wed Mar 22 2017 0.7-1
- user request: fade local volume to zero
- translation updates

* Sun Mar 05 2017 0.6-3
- new translation: Dutch (thanks pljmn!)

* Sat Feb 11 2017 0.6-2
- new translation: Slovenian (thanks sponka!)
- user request: Long press in main view opens timepicker (no need to go through settings anymore)
- appearance: Typography: Time Strings not subscript anymore
- appearance: Slightly smaller text on tablet
- spanish translation update

* Sat Jan 14 2016 0.6-1
- bugfix: app start does not change system volume anymore

* Sat Jan 22 2017 0.5-6
- enhancement: "keep display lit" timer duration decrease
- translation update russian (thanks ancelad)

* Wed Jan 11 2017 0.5-5
- bugfix: "keep display lit" does not time out anymore

* Mon Dec 26 2016 0.5-4
- translation update swedish (thanks eson)

* Sun Dec 25 2016 0.5-3
- new translation: russian (thanks ancelad)
- polish translation update (thanks atlochowski)

* Fri Dec 23 2016 0.5-2
- new translation: polish (thanks atlochowski)

* Wed Dec 21 2016 0.5-1
- added support for some android apps (not for the first jolla phone, sorry)

* Sun Jan 03 2016 0.4-5
- new translation: finnish (thanks ria88!)
- added support for talefish and players using the unaltered "qtmpris" name

* Fri Dec 04 2015 0.4-4
- new translations:
- spanish (thanks CepiPerez!)
- swedish (thanks eson!)

* Sat Nov 21 2015 0.4-3
- new: kodimote support as "local" player (you don't need to configure Kodi in slumber if kodimote is connected.)
- added support for unplayer

* Fri Nov 13 2015 0.4-2
- annoyance fix: don't display empty options entry if "shaking" was selected before v0.4
- packaging: app icons for tablet
- really minor performance enhancements

* Thu Nov 12 2015 0.4-1
- new option: disable bluetooth when timer runs out
- new option: keep display lit while timer is running
- new option: darken main application screen while timer is running
- user request: optional visual indicator before timer runs out
- user request: stronger acceleration needed to trigger "shaking"
- user request: new, even stronger shaking option "earthquake"
- ui tweaks (new sub page for appearance options, VerticalScrollDecorators on options pages)

* Thu Oct 30 2015 0.3-2
- new timer action: VLC network pause + connection options
- bugfix: query Kodi for PlayerIDs instead of guessing

* Wed Oct 28 2015 version 0.3-1
- new timer action: Kodi network pause + connection options
- bugfix: do _not_ pause Accelerometer when Sound Effect is not previewing
- some ui & translation changes

* Mon Oct 26 2015 version 0.2-3
- also use dbus to pause players (flowplayer compatibility)
- removed QtQuick 2.2 dependency (harbour tools pass)

* Sun Oct 25 2015 version 0.2-2
- new reset option: Proximity Sensor

* Sat Oct 24 2015 version 0.2-1
- bugfix: Accelerometer now paused while using PushUpMenu to stop timer (PushUpMenu got disabled for a short bit while using it)
- bugfix: Accelerometer now paused while prelistening to Sound Effect (Sound Effect gets stopped when timer is reset)
- bugfix: Silica ProgressCircle does not change colours anymore
- new german translation
- smaller package: sound files downsampled
- various ui tweaks


deutschem's picture

since upgrade to SFOS 4.4, integration to talefish (and i think other players etc.) do not work anymore. (in  Talefish: "Install slumber to activete this option"). Reinistall both (Talefish and slumber) with no effect.

velox's picture

Hi, thanks for letting me know...

I haven't had much time lately and my main device wasn't even updated. The new releases for slumber/Talefish now opted out of Sailjail to be able to keep the more advanced use cases available.

Let me know if it works for you. 

Oh, if you're using privileged actions inside slumber, you may have to revoke and grant rights once.



sponka's picture

OMG ... Silly me. Now that happens if you dont test everything. Sorry and thanks!

velox's picture

No worries, that could have easily been an error – so thanks for bringing it up!


sponka's picture

Tested and working, thanks for quick update! And I also had time to update translation ;) One question - now we have pull down option and gear icon on homepage, both open options panel. Am I missing something or is this some kind of test, which option works better? I give my vote to gear :)

velox's picture

Thanks for testing!
You must have enabled the shortcut in the settings. The option is there to quickly enter settings when the timer is running – because then, the pulley only consists of "stop timer" to simplify "blind" useage.


sponka's picture

Hello, version 0.9-1, slovenian (sl_SI) translation not working, not a single element translated.

velox's picture

Hi! Thanks for reporting and sorry for this. I tried to simplify transifex updates but obviously that didn't work well. And then there were some other issues preventing me from releasing the fixed version. Should now be fixed for 0.9-2 – please tell me if it works for you.

DarkTuring's picture

Longpress function works like a charm.

velox's picture

Thanks for checking ot out!

DarkTuring's picture

Suggestions for improvement:

1. show small simple digital clock above or below timer,

2. fade out music once timer closes when playing music,

3. allow edit of time from top screen without having to enter settings, simply do long press on timer which popups the edit time menue.

velox's picture

Local fade out is now finally implemented! Please tell me if it's working for you in the recent build.

velox's picture

Hi, thanks for the suggestions!

  1.  Do you mean the time when the timer will be running out? Or just a normal clock?
  2. I've tried to do that. Sadly, I have not even managed to query the current global volume. If someone knows how: Pull requests on github are really appreciated :)
  3. I have not thought of that. Nice Idea.
DarkTuring's picture

On item two global volume can be set like this:

pactl set-sink-volume 1 80%

If you create a loop to reduce it incrementally 100%-10% then turn off/ stop music play, streaming, then restore volume to original level pre-sound fade loop.




velox's picture

I think (no promises ;)) I'd be able to set the volume through "misusing" media elements from QML already, the problem is querying the current volume before that – preferably through pure QML/JS, as well. Thanks for inquiring, though :)

DarkTuring's picture

your welcome, 1. just a plain normal clock, 2. ill dig around and will let you know if i find anything, 3. more direct workflow, otherwise pulldown for direct time edit could work too.

velox's picture

I've done 3) on the weekend. It's on github for now – I think I'll have time to release a build during the week.

DarkTuring's picture

@velox sweet! i think those will be great additions for users of your app! cant wait to try.

velox's picture

I've decided against adding a clock to keep the interface minimalistic, but the long press shortcut is in the build released today. Thanks for the suggestion!

Ingvix's picture

How about a setting to fading volume at the last minute or something and then turn the playback off when the timer reaches zero?

velox's picture

That's actually something I had in my very first proof of concepts, but I wasn't satisfied with how it worked out (also it would have been a pain to implement it for network players and I really wanted the experience to be basically the same), so I removed that feature before it was finished. If I get an idea how to implement it nicely (or someone wants to make a pull request on github for it) it might happen at some point in the future, though.

Ingvix's picture

Okay, I hope you or someone figures it out soon. I only use the phone's output with slumber so the phone's volume fading would be satisfying for me.

velox's picture

Local fade out is now finally implemented! Please tell me if it's working for you in the recent build.

Ingvix's picture

It's nice but can you make the fade out time customizable? I'd prefer very slow fade out to the current 10 seconds.

Also one improvement came to my mind. Would it be possible make a feature to kill an app when the timer goes off? Currently there's no native app that plays Youtube streams so I use an Android app WebTube for that but it doesn't seem to have a support for the native controllers to pause the video so it would be nice if the app could kill the app after fading out the volume.

ZeiP's picture

Oh yeah, one suggestion: If it'd be possible to ignore the vibrates caused by the phone itself (notifications etc.), that'd be cool.

velox's picture

Brilliant Idea – but I have no way of telling phone vibrations from other movements. Also, the Vibration on my Phone is actually broken. If someone reads this and has a clue if vibrations can be detected, I'd be delighted to be told how.

ZeiP's picture

Installed ok on the new Sailfish Pausing works as expected with CuteSpot, and the reset options also seemed well-defined (at least the first three, which I tried.) Well done, thanks!

velox's picture

Awesome, thanks for testing!

Mariusmssj's picture

Really coop app, will be testing it tonight