Google’s system-wide dark mode has been one of the most welcome features in Android 10. However, the feature lacked a native option to schedule the dark theme to turn on at a specific time you desire. But worry not, a developer has made it possible through an app named “Automatic Dark Theme for Android 10“.
After running the above command in your PC, tap on the “Check permission” button to gain access to the app.
You can also turn on the toggle that says “Switch the theme only when the phone is locked” to switch themes only when your smartphone is locked. This will make sure that the current activity does not get affected by the theme switch.