To set the time before the screen dims, follow these steps:
1. Locate the settings menu on your device, usually represented by a gear icon or a similar symbol.
2. Scroll down and find the 'Display' or 'Screen' section.
3. Look for an option related to 'Screen Timeout' or 'Dimming.'
4. Tap on the option and adjust the slider or input field to set the desired time before the screen dims.
5. Save your changes and exit the settings menu.
Please note that the exact steps and terminology may vary depending on your device's operating system and manufacturer. Consult your device's manual or search for specific instructions online if needed.