Questions tagged [screen-brightness]

141 questions
0
votes
0 answers

How to increase screen brightness past the limit on Mac

Max on my Macbook is 350 nits. New models are shipped with 400 or more. I hoped Homebrew would help but brightness can only be set to 1, not 1.1 or Hope there will be a way to manually overcome the limit.
0
votes
1 answer

Adjust Andriod phone screen brightness using orientation

How can I use the phone orientation to adjust screen brightness? For example, brightness is maximum when portrait and minimum when landscape.
0
votes
1 answer

Changing the screen brightness on Windows via the console

I am trying to write a simple console application for Windows 10 that changes the screen brightness. Ultimately, I want to use this application with AutoHotKey, but this is secondary. In researching this, almost everything I found referred to…
Cadoiz
  • 1,446
  • 21
  • 31
0
votes
1 answer

BrightnessOverride.IsSupportedChanged is not triggered when I switch the monitors

I have a question about how this UWP API: BrightnessOverride.IsSupportedChanged works. Currently here is my setup: I have a HP laptop, and I can use BrightnessOverride to change the brightness on it. If I try to get IsSupported, it's returning…
laishiekai
  • 841
  • 1
  • 13
  • 26
0
votes
1 answer

Can read but not write proc file in C

I am writing a C program to change the screen brightness as xbacklight does not work in my circumstance. The solution should be native C (no system() function), because the program should be executable as a normal user via setuid. Calling external…
Sermak
  • 3
  • 1
0
votes
1 answer

UWP C# BrightnessOverride Class on RaspberryPi

I am testing brightnessoverride class for UWP on Raspiberry Pi. I am not sure if it supports Raspberry Pi with RaspberryPi official 7" touch screen LCD. I am trying to setbrightnessvalue as follow; displayBrightness =…
mylim
  • 313
  • 4
  • 16
0
votes
1 answer

not able to set Brightness when app enter in Background, can any one have any idea about it?

code not working in did enter in background method. func applicationDidEnterBackground(_ application: UIApplication) { UIScreen.main.brightness = CGFloat(0.5) }
0
votes
2 answers

Show brightness indicator bar when changed programmatically android

So i have a working code to change the brightness of the screen like in the answer her - Change the System Brightness Programmatically I just cant find anywhere how can i show the device's brightness indicator bar changing while the user changes it…
Itay Feldman
  • 846
  • 10
  • 23
0
votes
0 answers

Increase Screen Brightness is not Working

I want to increase brightness, when user open my app. I got the code from following link : Changing screen brightness programmatically (as with the power widget) But it is not working. Is it require some permission? I had added WRITE_SETTINGS…
Naitik Kundalia
  • 199
  • 1
  • 1
  • 19
0
votes
0 answers

F3 shortcut can't overlap brightness F3 shortcut

I just got SAS 9.4 installed at my second Laptop. It's a HP with shortcuts to brigthness at F2+F3. It drives me crazy that I can't use F3 or any F-statements in sas because of this overlap. Can I do something to "forget" the shortcuts while I'm…
0
votes
1 answer

Keyboard single click multiple events

I am interested in creating a bluetooth remote control with buttons for use with Android phones AND iPhone. Is it possible to press one button once (single click NOT long press) and send multiple key codes? For example a single click sends a key…
0
votes
1 answer

Android - using a button to change the screen's brightness

int BrightnesValue= 0; try { BrightnesValue = Settings.System.getInt( getContentResolver(), Settings.System.SCREEN_BRIGHTNESS); } catch (Settings.SettingNotFoundException e) { …
0
votes
1 answer

how to incrase or decrease the brighness of the screen on button click

in my android app i want a single button in which on 1st click brightness will be 10 , on 2nd click brightness will be 50 , on third click brightness will be 255 (full ) as the user click next it will back to 10 again how to code this i have…
techandroid07
  • 73
  • 1
  • 8
0
votes
0 answers

Get screen brightness level in Windows 8.1 project

Is it possible to get device (monitor/tablet/phone) current brightness level in Windows 8.1 project or Universal Windows app using C#? I got a code which queries from System.Management dll. static int GetBrightness() { …
Yeasin Abedin
  • 2,081
  • 4
  • 23
  • 41
0
votes
0 answers

get and set monitor brightness level on windows

We'd like to get/set brightness level of monitors on Windows. We can't find any sample code that works. We keep getting NULL handles from the GetPhysicalMonitorsFromHMONITOR(). Can anyone provide sample code that works for Windows 7 and later? …
Mark
  • 51
  • 1
  • 5