Skip to content

Commit

Permalink
Merge pull request #28 from gelstudios/master
Browse files Browse the repository at this point in the history
Update README with BSUpdateInterval note
  • Loading branch information
OCJvanDijk authored Dec 11, 2020
2 parents 4f882c3 + 44e1c5b commit 63a567f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ I only have one 27-inch LG UltraFine display, so I can do only limited testing.
Requires macOS 10.15. If you're on 10.14, you can download v1 from the releases page.

## Energy impact
The app polls the brightness pretty aggressively, which results in a small energy impact of around 0.3-0.5 according to Activity Monitor.
The app polls the brightness pretty aggressively (every 0.1 seconds), which results in a small energy impact of around 0.3-0.5 according to Activity Monitor.
_However_ it will automatically stop the polling when no UltraFine displays are connected and because those monitors are also a power source, this effectively means it will never run when on battery power.

If you want to change this behavior, the update interval is exposed as an internal user preference `BSUpdateInterval`. It can be set via the terminal:
`$ defaults write dev.vandijk.Brightness-Sync BSUpdateInterval 0.5` where 0.5 is the desired delay in seconds. The app must be restarted for the change to take effect.

## 2nd Gen UltraFine support
This app was designed with 1st generation UltraFines in mind that don't support auto brightness. I started work on supporting mixed setups with both 1st gen and 2nd gen displays in v2.3.0. If no built-in display is detected, it will use a 2nd gen display as the "source" and sync its brightness to all other connected displays. The app will currently override the auto brightness of all 2nd gen displays that aren't used as the source, because some people have reported the auto brightness of the 2nd gen to not be so reliable and are using this app to sync the brightness of the built-in display to the 2nd gen. You should probably turn off the built-in auto brightness of the 2nd gen in the Settings if you do this. Other people might want to only sync to 1st gen and let the 2nd gen handle its own auto brightness. I'm considering making this an option for those people.

0 comments on commit 63a567f

Please sign in to comment.