How to Enable Auto-Unlock on Android Phones with Custom Vendor Optimisation that Terminates Background Tasks

In order to get Auto-Unlock feature to work with your phone, the Yale Access App needs to be able to occasionally run short background tasks . For these phones Auto-Unlock setup will direct you to the Settings where the Yale Access App can be added to “Ignore Battery Optimisation” list. In addition to that setting, for Huawei phones, the following steps are necessary:

Adjust your settings:

Go to Phone settings > Advanced Settings > Battery Manager > Power plan is set to Performance

 

Phone Settings > Advanced Settings > Battery Manager > Protected apps – check that the Yale Access App is set to Protected

 

Phone Settings > Apps > Yale Access App > Battery > Power-intensive prompt [x] and Keep running after screen off [x]

 

Phone settings > Apps > Advanced (At the bottom) > Ignore optimisations > Press Allowed > All apps > Find the Yale Access App and set to Allow

 

Some specific models such as Huawei, OnePlus, and Xiaomi have additional steps. If your model phone is below, include those steps to the above:

Huawei P9 Plus:

Phone settings > Apps > Settings > Special access > Ignore battery optimisation > select allow for the Yale Access App

Huawei P20:

Phone settings > Battery > App launch and then set your app to “Manage manually” and make sure everything is turned on.

Huawei Honor 9 Lite and Huawei Mate 9 Pro:

Phone settings > Battery > Launch and then set the Yale Access App to “Manage manually” and ensure everything is turned on.

OnePlus

Phone settings > Battery > Battery optimisation and switch to the All apps list (Top menu) > Yale Access App > Don’t optimise

Xiaomi

System Settings > Apps > Gear Icon > Special Access > Battery Optimisation

App battery saver: Security > Battery > App Battery Saver > Yale Access App > No restriction

Autostart: Open Security app > Permissions > Auto-start Enable Autostart for desired apps.

App pinning: When you open recent apps tray, drag your app downwards – it will be locked. So even if you clear recent apps it will not clear from the background. Drag downwards again to clear your app from the background.