Checking Device Settings

#1

I am trying to check if the device currently has Power Saver Mode on both iOS and Android. Is there a way to figure it out on Expo? I intent to change the behaviour of the App if power saver mode is on.
Also, I want to check if the Flight Mode is on or not. Currently, I am using NetInfo to figure that out, but if someone knows a better way to do it, Please let me know.