AlexPerathoner / SlimHUD

Replacement for MacOS' volume, brightness and keyboard backlight HUDs.
https://alexperathoner.github.io/SlimHUD
GNU General Public License v3.0
388 stars 8 forks source link

Brightness bar not at 100% #101

Open AlexPerathoner opened 1 year ago

AlexPerathoner commented 1 year ago

Before opening the issue, have you...?

Describe the bug

When the laptop is on battery, the max screen brightness is lowered. SlimHUD still uses the real max value. So when setting the brightness to the max, the hud is at around 90%, which can be confusing

Steps to reproduce

  1. use a MacBook
  2. use battery
  3. set max brightness

Expected behavior

HUD should show 100% brightness

Anything else?

No response

Environment Information (please complete the following information)

- macOS version: 13.1
- Mac model: MBP 13
- Monitor(s): built in
- Apple Silicon/M1 (yes or no): no
AlexPerathoner commented 1 year ago

MonitorControl doesn't have this issue. See their code for a solution