lp:~mate-desktop/mate-desktop/+git/mate-power-manager

Owned by MATE Desktop
Get this repository:
git clone https://git.not.enabled/~mate-desktop/mate-desktop/+git/mate-power-manager

Import details

Import Status: Suspended

This repository is an import of the Git repository at https://github.com/mate-desktop/mate-power-manager.

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 30 seconds — see the log

Branches

Name Last Modified Last Commit
master 2025-01-16 06:07:51 UTC
Keyboard backlight handling improvements (#404)

Author: Colomban Wendling
Author Date: 2025-01-16 06:07:51 UTC

Keyboard backlight handling improvements (#404)

* gpm-kbd-backlight: Fix toggling backlight back on

The static value was reset on every call rather than only initially,
resulting in failure to restore the initial value when toggling it
back on.

* gpm-kbd-backlight: Persistently save user-set brightness

Try and save the user-set brightness to be able to restore it on next
restart.

This is not perfect because we have complex interaction between
settings which makes it not trivial, if at all possible, to save the
value yet respect the dim settings.

Here we try to save the value in a way that counteract battery dimming
so that restoring the value yields expected results (e.g. a value saved
on battery restores identical on battery again), but it cannot work
when the value to save is larger than the dimmed maximum as at the
moment the maximum value is 100%.

It is however the best I could come up with working with the settings
we currently have, and it's probably good enough at least as a starting
point.

It also switches from `master_percentage` to `brightness_percent` in
the toggle code because the former is only initialized to the actual
current brightness value once brightness changed at least once, while
the former is properly initialized. It is otherwise quivalent for this
feature, and less confusing as to when the value gets updated.

* refactor: gpm-kbd-backlight: Remove some unnecessary temp variables

* refactor: gpm-kbd-backlight: Move dimming logic to a helper function

* gpm-kbd-backlight: Get rid of `master_percentage`

Now the on-AC value changes following user input, the internal
`master_percentage` was just plain confusing and actually make things a
bit weird at times because it doesn't follow dynamic user choices.

So just get rid of it, replacing it with the on-AC value.

* gpm-kbd-backlight: Rationalize handling of battery-reduce setting

Handling of a disabled battery-reduce setting was too aggressive, which
could reduce in not setting backlight value in unrelated cases,
including initial startup and resume, as well as some cases of IDLE
handling.

Now the user choices are better followed, the whole special-casing
could probably be removed as the internal state should always reflect
the reality, but keep the specific check not to do anything on AC
plug/unplug when this is disabled just in case, although the historical
reasons why it was actually problematic should be gone now.

gh-pages 2024-12-10 08:58:29 UTC
Deploy mate-desktop/mate-power-manager to github.com/mate-desktop/mate-power-...

Author: Colomban Wendling
Author Date: 2024-12-10 08:58:29 UTC

Deploy mate-desktop/mate-power-manager to github.com/mate-desktop/mate-power-manager.git:gh-pages

submodules-no-fatal-errors 2024-10-02 10:06:58 UTC
brightness: Don't error-out on communication failure

Author: Colomban Wendling
Author Date: 2024-10-02 10:06:58 UTC

brightness: Don't error-out on communication failure

No need to exit the whole MPM process when the module doesn't work.

1.26 2023-05-05 18:11:16 UTC
release 1.26.1

Author: raveit65
Author Date: 2023-05-05 18:11:16 UTC

release 1.26.1

1.24 2021-05-30 14:41:47 UTC
travis-ci: use ubuntu focal as host system

Author: raveit65
Author Date: 2021-05-30 14:41:47 UTC

travis-ci: use ubuntu focal as host system

fixes build issues with fedora:latest (f34) tag.

1.22 2020-02-29 10:54:03 UTC
Travis CI: arch build: add autoconf-archive

Author: Pablo Barciela
Author Date: 2020-02-29 10:54:03 UTC

Travis CI: arch build: add autoconf-archive

1.20 2019-06-17 19:50:30 UTC
[ci] Fix build in debian

Author: Pablo Barciela
Author Date: 2019-06-10 06:48:57 UTC

[ci] Fix build in debian

1.18 2018-05-04 11:58:59 UTC
release 1.18.3

Author: Vlad Orlov
Author Date: 2018-05-04 11:58:59 UTC

release 1.18.3

1.16 2017-02-16 14:29:09 UTC
release 1.16.2

Author: Vlad Orlov
Author Date: 2017-02-16 14:29:09 UTC

release 1.16.2

1.14 2016-06-08 20:58:09 UTC
sync with Transiflex

Author: raveit65
Author Date: 2016-06-08 20:57:20 UTC

sync with Transiflex

1.12 2015-11-30 07:51:51 UTC
Bump version to 1.12.1

Author: Vlad Orlov
Author Date: 2015-11-30 07:51:51 UTC

Bump version to 1.12.1

1.10 2015-09-01 09:18:58 UTC
bump version to 1.10.2

Author: Vlad Orlov
Author Date: 2015-09-01 09:18:58 UTC

bump version to 1.10.2

1.8 2015-03-19 08:26:24 UTC
statistics: adjustment for API breakage in upower 0.99

Author: Vlad Orlov
Author Date: 2015-03-10 11:38:07 UTC

statistics: adjustment for API breakage in upower 0.99

Closes https://github.com/mate-desktop/mate-power-manager/pull/132

1.6 2014-01-17 11:12:51 UTC
Merge pull request #91 from infirit/1.6

Author: Stefano Karapetsas
Author Date: 2014-01-17 11:12:51 UTC

Merge pull request #91 from infirit/1.6

Reverse configure logic for --enable-deprecated

114 of 14 results
This repository contains Public information 
Everyone can see this information.

Subscribers