Skip to content

Keep screen at full brightness when playing a video #122

Description

@mvglasow

To reproduce:

Play a longer video (some 5–10 minutes, depending on device settings) and watch screen brightness.

Expected behavior:

Screen stays at the same brightness throughout the video.

Actual behavior:

After around a minute, screen brightness is reduced.

Versions:

1.2 (from F-Droid) on LineageOS 18.1

Additional information:

Screen brightness in Android is determined by at least three parameters:

  • user-selected brightness level
  • adaptive brightness dependent on ambient light (if supported by device)
  • power management (which reduces screen brightness after a certain portion of the screen timeout has elapsed, which warns the user that the screen is about to be turned off)

I am referring to the third one. IIRC this can be inhibited through activity properties or by obtaining a wake lock when a video is playing.

Somewhat related to #93, which is about the screen turning off altogether

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions