Ask / Submit

LED patterns - add option

asked 2014-04-15 18:42:41 +0300

Bobsikus gravatar image

updated 2014-07-25 14:04:02 +0300

jiit gravatar image

I have another question (for developers), for now there is thes options for pattern behaviour: 0-only show pattern when the device is off 1-show pattern even when the display is on 2-only show pattern when the device is off, including acting dead 3-show pattern even when the display is on, including acting dead 4-only show pattern if the display is off, or if in acting dead 5-always show pattern, even if LED disabled 6-like 0 but automatically disable after display is on (this option is used for most patterns)

I would love to have also simple option: same like 6 but when I open (for example message) or I pick "clear notifications" the pattern disappears... For now if I choose option 1 it keeps blinking even if the message was already opened or notifications was cleared...

I am not sure if the option 1 should work this way, like I am thinking and it is a bug, or it was meant to be this way

edit retag flag offensive close delete


6 is also my preferred behavior, with 0 i forget about the active notifications after the screen was on for a short time (to check time for example)

but for now 6 is pretty useless, because it keeps flashing until next reboot

nightmare ( 2014-04-15 21:55:28 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-04-19 07:16:46 +0300

spiiroin gravatar image

The patterns are configured to suit the program that uses them. Some values can be tuned without making changes to the controlling application logic (like color) - while some changes just make things not work (like changing pattern type from 6 to something else).

Apart from type 6, all patterns must be both started and stopped. For type 6 patterns stopping is optional i.e. application logic can utilize type 6 patterns in "fire and forget" style, but stopping them is perfectly ok too.

However if the application logic does "fire and forget" only controls, editing the pattern type from 6 to something else without changing the app code too -> once activated the pattern stays active forever.

edit flag offensive delete publish link more


thank you for you answer, ok, i get that it is not a bug, that is ok. But I would still love go have that option, when the LED notification is ON until I clear the notification, or open it (missed call, SMS..), i realize it wil need some coding, i can wait :) thank you for your answer anyway :)

Bobsikus ( 2014-04-19 07:27:07 +0300 )edit

so e-mail, messaging and phone app should stop their pattern, after die notifications were cleared.

for example:

  • e-mails are synced via imap or exchange
  • e-mail arrives -> pattern starts, jolla flashes
  • read email on another device -> mail is marked as read, no new mail is present
  • jolla still flashes "new mail" until display is active, because the pattern is not stopped by mail app
nightmare ( 2014-04-19 12:44:52 +0300 )edit

@nightmare currently it works pretty much as you described, but I think there are improvements for this coming up i.e. reading emails on another device should stop blinking too

spiiroin ( 2014-04-19 15:26:56 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2014-04-15 18:42:41 +0300

Seen: 362 times

Last updated: Apr 19 '14