According to this article the following script should return the current Power Mode state:
pmset -g |grep lowpowermode
This is what it actually returns in my case:
When set through system preferences, the script doesn't seem to change in either Low or High Power mode.
Doesn't change neither if the script is:
pmset -g |grep highpowermode
Am I doing something wrong?