Brigthness sensor override possible?
-
Hello,
I have an issue with screen flickering after ending calls on the fairphone 3. Is it possible to override sensor values under certain conditions e.g. Via script?
It might help with this issue.
Thanks. -
@Homer3
The issue is only present when auto brightness is active.So, maybe it is possible to create a script (as service) which turns auto brightness off during a call and turn it on when the call is finished...
Never thought about this possibility.
But maybe I or someone else can create one and I could integrate it in the port. -
This post is deleted! -
This post is deleted! -
@Homer3 we already have a systemd service, which reactivates the microphone for other apps, after a call. Its located in /usr/lib/systemd which calls the check-microphone script in /usr/libexec.
I could imagine something similar for the autobrightness issue.
-
This post is deleted! -
@Luksus said in Brigthness sensor override possible?:
So, maybe it is possible to create a script (as service) which turns auto brightness off during a call and turn it on when the call is finished
Don't know if that's useful ... I ran some tests with dbus-monitor,
disable auto brightness :dbus-send --system --print-reply --type=method_call --dest=com.canonical.Unity.Screen /com/canonical/Unity/Screen com.canonical.Unity.Screen.userAutobrightnessEnable boolean:falseenable auto brightness :
dbus-send --system --print-reply --type=method_call --dest=com.canonical.Unity.Screen /com/canonical/Unity/Screen com.canonical.Unity.Screen.userAutobrightnessEnable boolean:truewait for timeout end, works.
-
@Br1 oh nice, I will try to make something out of it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login