We have moved to a new Sailfish OS Forum. Please start new discussions there.
11

Configuring range of brightness auto-adjust

asked 2014-01-09 23:00:03 +0200

Fuzzillogic gravatar image

updated 2014-01-10 21:26:23 +0200

lk gravatar image

Jolla has the option to automatically change display brightness, based on environment light. This works, but I find the range too narrow. In darkness (e.g. bed) I set the brightness to the lowest setting. Auto-adjust darkens it even more. Great! However, during daytime this setting is too dim, and I need to manually increase the brightness.

Currently there's no way using GUI to change this (e.g. configure when auto-adjust enabled, you have two sliders, a "low" and "high" setting, instead of one). But is this auto-adjust range configurable by some config file? Or is it hard coded?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
7

answered 2014-01-10 00:32:11 +0200

sp3000 gravatar image

updated 2014-01-10 00:35:43 +0200

/etc/mce/20als-defaults.ini , /sys/devices/virtual/input/input11/als_lux , with the usual "you get to keep both halves" caveat, I guess. I found none of the default curves matching what I wanted either — the dim end isn't as dim as it can go, and the curves aren't quite steep enough. Replacing the slider+toggle with slider+slider where the first controls the base brightness at lowest ambient lighting, and the second the strength of the auto-adjust, sounds like a good idea — it's more tweakable but still only two elements.

See also: 12372 7802 4295 1171

edit flag offensive delete publish link more

Comments

1

Exactly what I hoped! As root, I simply changed the first number of LevelsNormal to 4. Then restarted the service by "systemctl restart mce.service"

The screen now dims a lot. Unfortunately, the step between 0 and 1 lux is rather large, but that's a hardware limitation.

Fuzzillogic ( 2014-01-10 13:56:57 +0200 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2014-01-09 23:00:03 +0200

Seen: 315 times

Last updated: Jan 10 '14