https://bugs.kde.org/show_bug.cgi?id=484663

            Bug ID: 484663
           Summary: Switching from low battery mode to AC power should
                    restore previous screen brightness
    Classification: Plasma
           Product: Powerdevil
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: devillelethiba...@gmail.com
                CC: m...@ratijas.tk, natalie_clar...@yahoo.de
  Target Milestone: ---

SUMMARY
On my work laptop, which has nice specs but *horrible* battery life, I raised
the low battery threshold a bit to indicate when I should save my work and
power off the machine or plug it into the wall. However, when I do that, my
screen brightness stays way down, and I have to manually put it back where it
previously was.

STEPS TO REPRODUCE
1. Set the desired low brightness in "Settings > Energy Saving > Low Battery >
Change screen brightness".
2. Wait for the low battery mode to kick in.
3. Plug the laptop into the wall.

OBSERVED RESULT
Brightness stays at the "Low Battery" setting.

EXPECTED RESULT
Brightness should be set back to whatever it was when in "normal" battery mode.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8850H CPU @ 2.60GHz
Memory: 31,0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: Dell Inc.
Product Name: Precision 5530

ADDITIONAL INFORMATION
The behaviour I desire is close to what I remember macOS doing in the early
2010's (unsure if they still do it). It works this way : when the laptop enters
a "Low Battery" mode, the maximum brightness level the panel can reach is
lowered, but the user *still* has a 0%-100% range on their software brightness
slider. Setting a new brightness while in low battery mode amounts to setting
the panel to (user_setting * factor) where `factor` is a limit to how bright
the screen can be in low battery mode (usually somewhere near 20%). Once the
laptop goes out of "Low Battery" mode, the `factor` is set to 1 and the "full"
range of the panel's brightness can be achieved.

This should probably be implemented in such a way that a message is displayed
below the brightness slider saying something akin to "Low battery: brightness
limited" or "Limited by battery settings" while the `factor` is below 1.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to