Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Allow to suppress charging state notification #283

Open
wants to merge 11 commits into
base: xenial
Choose a base branch
from

Conversation

wdehoog
Copy link
Contributor

@wdehoog wdehoog commented Feb 22, 2020

Some people don't like charging state indication and some devices might only have one led blink pattern. These changes allow to disable showing them (dconf write /com/lomiri/ledindication/charging-state-visible false).

See ubports/ubuntu-touch#1377

(edited to show new settings namespace)

@UniversalSuperBox
Copy link
Member

Is your plan to add these settings somewhere in system-settings as well?

Since some devices only have a single-color LED, I'd recommend adding something to the device config parser in another PR. This additional metadata could tell the system if it should even try to use multi-color LEDs. Then users don't need to choose if they want their LED on all the time during charging.

@wdehoog wdehoog force-pushed the xenial_-_configure-led-notification branch from 966eff2 to 4701cbd Compare August 16, 2020 09:03
… to test.

The combination Loader/Component results in another instance in memory which also starts to
control the led making testing impossible.
@UniversalSuperBox
Copy link
Member

Sorry for the wait... Unfortunately, this PR now conflicts on fake_gsettings... Could you please resolve this conflict (you may want to git pull --rebase upstream xenial) so we can take another look?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants