This App allows setting time limits for the usage of Android phones/ devices.
It is a fork of the App TimeLimit with all networking related features removed.
Open it with Android Studio and press the Run button.
Enabling the device owner permission
adb shell dpm set-device-owner io.timelimit.android.open/io.timelimit.android.integration.platform.android.AdminReceiver