Battery Optimizations
Overview
There are a number of Android battery optimizations that affect the running of Port Forwarder. The purpose of these battery optimizations is to conserve battery usage. These battery optimisations include restrictions on running applications in the background.
Google Stock Android
Stock Android includes three profiles for battery optimizations namely:
- Unrestricted
- Optimized
- Restricted
By default applications are assigned the Optimized profile. This places some restrictions on applications running in the background.
In order for the Port forwarder application to work as expected the profile will need to be changed to Unrestricted.
Go to:
- Settings
- Apps
- App battery usage
- Select Port Forwarder
- Switch the profile to Unrestricted
Other Manufacturers
Stock Android is typically only available on the Google manufactured devices. Other manufacturers have additional battery optimisations that need adjusting.
Oneplus
Oneplus has two battery optimizations which affect the running of Port Forwarder namely:
- Allow background activity
- Allow auto-launch
Go to:
- Setting
- Apps
- App management
- Select Port Forwarder
- Battery usage
- Switch Allow background activity to on
- Switch Allow auto-launch to on
Conclusion
Prior to Google standardizing the options available for battery optimization many manufacturers implemented their own battery optimizations.
It's important to discover whether battery optimizations on your device are restricting Port Forwarder from running in the background.