Many phone manufacturers have introduced their own battery management systems on top of Android.
While these are designed to reduce background power consumption, they often unintentionally shut down apps that users want to keep running.
Piste operates in the background while you ski to track your session data, but these aggressive power-saving measures force-close our app - causing you to lose your epic day.
Full credit goes to https://dontkillmyapp.com for providing the detailed steps in this guide.
There are no known issues preventing you from running Piste all day in the background on the following devices
The following list of manufacturers are known to cause issues with Piste
iPhones will present no issues unless 'battery saver' is turned on. Simply turn this off in control centre.
Another possibility is if there's is extensive memory pressure that causes IOS to kill piste - the best way to mitigate this is to not use your phone once you start recording.
Huawei are the most aggressive phones at killing background applications. For most phones you can navigate to Phone Settings -> Battery -> App Launch
Find Piste in this list and turn the toggle off to set to "Manage Manually"

Xiaomi offer some mitigations to prevent Piste from being killed. For most phones you can navigate to:
Phone Settings -> Applications -> Piste
Find Battery saver in this list and turn the toggle off

One Plus offer some mitigations to prevent Piste from being killed. For most phones you can navigate to System Settings -> Battery -> Battery Optimization -> Piste
Select Don't optimize

Samsung has app pinning allowing you to prevent one app from exiting.
For most phones you enter the task switcher then: Long Press on Piste -> Pin this app

You can protect Piste from being killed via a setting.
Settings -> Advanced Settings -> Battery Manager -> Protect apps
Toggle 'Piste' On
You may need to re-enable this if you've turned it off:
Security -> Permissions -> Background processes -> Allow running in background
Asus should not cause many issues but you may need to turn off clean up in suspend
Power Master -> Battery saving options -> Clean up suspend

Turn off optimized mode for Piste

Enable the padlock icon in the top right corner of the running app overview
Pin the app in the recent app screen
Set piste with Unrestricted battery usage

Under
Battery -> App Battery Management -> Piste
Allow background activity.

Under Apps and Notifications -> Piste -> Advanced -> Battery select not optimized.

Disable Optimize for battery Phone settings > Battery > Three dots in the top right corner > Battery optimization > Apps > Piste
Ensure Piste is not blocked from background in app blocker
Search for "Manage background apps" in the search bar and enable Piste
