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

[How-To]Disabling LED blinking when battery full charged [answered]

asked 2013-12-30 22:15:37 +0300

updated 2013-12-31 00:05:33 +0300

How could I disable blinking from LED when the battery is full charged?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by juju_des_highlands
close date 2013-12-31 00:10:10.042113



This is definitely something that requires a proper UI at some point. Meanwhile, thanks for the tip!

Julle ( 2013-12-30 22:24:16 +0300 )edit

I agree with you, an adapted menu would be welcomed :)

juju_des_highlands ( 2013-12-30 22:25:27 +0300 )edit

Another solution: You can disable the LED temporary by using following dbus-commnd

dbus-send --print-reply --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_disable

and enable it by using

dbus-send --print-reply --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_enable
Cermit ( 2014-01-22 20:53:36 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2013-12-31 00:05:52 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-01-06 23:25:39 +0300

Mohjive gravatar image

I looked for a way to personnalize LED combinations.

For those of you disturbed by blinking LED when full battery:

In root terminal type (i for inserting mode)

'vi /etc/mce/20hybris-led.ini'

Delete the both lines

#FFFFF' = white

At the end of the file, type the missing part of


(:wq + Enter for leaving and saving changes).

Reboot and this blinking should be gone! Instead, LED will stay white and on until you plug off charger.

In this file, many customizations are possible but stay attentive because an error could make your device into a bootloop at next reboot!

If you use and like this tip, please upvote this subject ;)

edit flag offensive delete publish link more


Is there a documentation over the settings pattern somewhere? I can guess that some numbers are for things like intensity, duration on and duration off, but what are the others for?

EDIT: I found what I asked for at the top of the 20hybris-led.ini file

Mohjive ( 2014-01-01 15:04:51 +0300 )edit

I didn't find something like this. Can you detail what you found?

juju_des_highlands ( 2014-01-02 16:40:23 +0300 )edit

@juju_des_highlands: See the top of the file referenced by opening it in a text editor (or look in the github repo: https://github.com/nemomobile/mce/blob/master/inifiles/hybris-led.ini )

I'd also recommend "nano" pkcon install nano as editor as it's more similar to notepad and such.

Mohjive ( 2014-01-02 16:55:19 +0300 )edit

@Mohjive: Thanks a lot ;)

juju_des_highlands ( 2014-01-02 17:13:50 +0300 )edit

@juju_des_highlands: could you change this answer to a wiki. Then others could add their patterns and solutions.

Mohjive ( 2014-01-02 18:41:20 +0300 )edit

answered 2013-12-30 23:05:47 +0300

wag74 gravatar image

I would also love to have the option to turn off the LED notification for the fully charged battery.

edit flag offensive delete publish link more


Solution is in this file too certainly. Maybe I will look again into it for checking but I would prefer rather a color changing when full.

juju_des_highlands ( 2013-12-30 23:08:45 +0300 )edit

instead ffffff put 000000 and nothing else

McCloud ( 2014-03-23 22:17:10 +0300 )edit

Question tools



Asked: 2013-12-30 22:15:37 +0300

Seen: 649 times

Last updated: Jan 06 '14