<- Chrome Settings Library

PerAppTimeLimits

Per-App Time Limits
Last updated October 8, 2024

Allows to set per-app usage restrictions. Usage restrictions can be applied to the apps installed on Google ChromeOS for the given user. Restrictions should be passed in |app_limits| list. Only one entry per-app is allowed. Apps not included in the list have no restrictions. It is not possible to block apps that are essential for the operating system, the restrictions for such apps will be ignored. App is uniquely identified by |app_id|. Since different types of apps can use different id format |app_type| needs to be specified next to |app_id|. Per-App Time Limits only support |ARC| apps currently. Android package name is used as |app_id|. Support for other types of applications will be added in the future, for now they can be specified in the policy, but the restrictions will take no effect. There are two types of available restrictions: |BLOCK| and |TIME_LIMIT|. |BLOCK| makes app unavailable for the user. If |daily_limit_mins| is specified with |BLOCK| restriction |daily_limit_mins| will be ignored. |TIME_LIMITS| applies daily usage limit and makes app unavailable after the limit is reached on the given day. Usage limit is specified in |daily_limit_mins|. Usage limit is reset daily at the UTC time passed in |reset_at|. This policy is only used for child users. This policy is complementary to 'UsageTimeLimit'. Restrictions specified in 'UsageTimeLimit' like screen time and bedtime will be enforced regardless of 'PerAppTimeLimits'.

Supported On:
Platform Start End
ChromeOS 80
Example value:

{"reset_at":{"hour":6,"minute":0},"app_limits":{"0":{"app_info":{"app_id":"com.example.myapp","app_type":"ARC"},"restriction":"TIME_LIMIT","daily_limit_mins":30,"last_updated_millis":"1570223060437"},"1":{"app_info":{"app_id":"pjkljhegncpnkpknbcohdijeoejaedia","app_type":"EXTENSION"},"restriction":"TIME_LIMIT","daily_limit_mins":10,"last_updated_millis":"1570223000000"},"2":{"app_info":{"app_id":"iniodglblcgmngkgdipeiclkdjjpnlbn","app_type":"BUILT-IN"},"restriction":"BLOCK","last_updated_millis":"1570223000000"}},"activity_reporting_enabled":false}

Features: