Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 3 of 3
  1. Thread Author  Thread Author    #1  

    Default Power Saver Mode Trigger? Just like Extreme Power Saver Mode using Tasker

    **Update, I found a solution using Tasker see follow-up comment**

    As you know the "Extreme Power Saver Mode" allows you so set a threshold trigger of 5%, 10%, or 20%
    Power Saver Mode Trigger? Just like Extreme Power Saver Mode using Tasker-rpwrxza.jpg

    I can't figure out how to do something similar for the normal (not "extreme") "Power Saver Mode". What I'd really like to do is set the phone to enable "Power Saver Mode" at around 60% battery.
    I'm quite adept at Tasker but I can't seem to find any API to toggle "Power Saver Mode" on/off
    Power Saver Mode Trigger? Just like Extreme Power Saver Mode using Tasker-t5qh1bd.jpg

    I welcome your ideas, thanks!
    Last edited by Bart Pascoal; 04-25-2014 at 05:37 PM. Reason: Solution Found See comment below
  2. Thread Author  Thread Author    #2  

    Default Re: Power Saver Mode Trigger? Just like Extreme Power Saver Mode?

    There wasn't anything on Google but after much work in Tasker I seem to have found a solution.
    Prerequisite A
    Root
    Prerequisite B
    Tasker
    Prerequisite C
    Tasker Secure Settings

    Step 1
    Create a batter level profile. I created one for 75-100%
    Power Saver Mode Trigger? Just like Extreme Power Saver Mode using Tasker-ast0qjb.jpg
    Step 2
    Add Action select Plugins (this is where you need the secure settings plugin)
    Power Saver Mode Trigger? Just like Extreme Power Saver Mode using Tasker-irusczp.jpg
    Step 3
    Select "HTC Models" from Custom ROM Actions
    Power Saver Mode Trigger? Just like Extreme Power Saver Mode using Tasker-jacuote.jpg
    Step 4
    Power Save Mode Disable (For my profile I want it disabled at 75-100%)
    Power Saver Mode Trigger? Just like Extreme Power Saver Mode using Tasker-sjmdn7d.jpg

    Alternatively you could just import the profile I created:
    <TaskerData sr="" dvi="1" tv="4.3u3m">
    <Profile sr="prof15" ve="2">
    <cdate>1398369273989</cdate>
    <clp>true</clp>
    <edate>1398464948788</edate>
    <id>15</id>
    <mid0>16</mid0>
    <nme>Power Saver</nme>
    <State sr="con0" ve="2">
    <code>140</code>
    <Int sr="arg0" val="75"/>
    <Int sr="arg1" val="100"/>
    </State>
    </Profile>
    <Task sr="task16">
    <cdate>1398369288011</cdate>
    <edate>1398464889853</edate>
    <id>16</id>
    <nme>Power Saver On</nme>
    <Action sr="act0" ve="5">
    <code>11820</code>
    <Bundle sr="arg0">
    <Vals sr="val">
    <com.intangibleobject.securesettings.plugin.extra.BLURB>Power Saver Mode - Disabled</com.intangibleobject.securesettings.plugin.extra.BLURB>
    <com.intangibleobject.securesettings.plugin.extra.BLURB-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.BLURB-type>
    <com.intangibleobject.securesettings.plugin.extra.ENABLED>false</com.intangibleobject.securesettings.plugin.extra.ENABLED>
    <com.intangibleobject.securesettings.plugin.extra.ENABLED-type>java.lang.Boolean</com.intangibleobject.securesettings.plugin.extra.ENABLED-type>
    <com.intangibleobject.securesettings.plugin.extra.EXTRA_SPINNER_OPTION>user_powersaver_enable</com.intangibleobject.securesettings.plugin.extra.EXTRA_SPINNER_OPTION>
    <com.intangibleobject.securesettings.plugin.extra.EXTRA_SPINNER_OPTION-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.EXTRA_SPINNER_OPTION-type>
    <com.intangibleobject.securesettings.plugin.extra.SETTING>htc_modes</com.intangibleobject.securesettings.plugin.extra.SETTING>
    <com.intangibleobject.securesettings.plugin.extra.SETTING-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.SETTING-type>
    <com.twofortyfouram.locale.intent.extra.BLURB>Power Saver Mode - Disabled</com.twofortyfouram.locale.intent.extra.BLURB>
    <com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
    <net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
    <net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
    </Vals>
    </Bundle>
    <Str sr="arg1" ve="3">com.intangibleobject.securesettings.plugin</Str>
    <Str sr="arg2" ve="3">Secure Settings</Str>
    <Int sr="arg3" val="0"/>
    </Action>
    </Task>
    </TaskerData>
  3. Thread Author  Thread Author    #3  

    Default Re: Power Saver Mode Trigger? Just like Extreme Power Saver Mode?

    Forgot to say Part 2 is you need to set a lower Battery Profile 0-74% with Battery Saver On
    So that's 2 profiles one for 0-74 and another for 75-100
    There's probably a way to do them all in the same profile but this works.

    <TaskerData sr="" dvi="1" tv="4.3u3m">
    <Profile sr="prof2" ve="2">
    <cdate>1398467403264</cdate>
    <clp>true</clp>
    <edate>1398467532441</edate>
    <id>2</id>
    <mid0>4</mid0>
    <nme>Power Saver ON</nme>
    <State sr="con0" ve="2">
    <code>140</code>
    <Int sr="arg0" val="0"/>
    <Int sr="arg1" val="74"/>
    </State>
    </Profile>
    <Task sr="task4">
    <cdate>1398467417327</cdate>
    <edate>1398467438054</edate>
    <id>4</id>
    <nme>Power Saver 2</nme>
    <Action sr="act0" ve="5">
    <code>11820</code>
    <Bundle sr="arg0">
    <Vals sr="val">
    <com.intangibleobject.securesettings.plugin.extra.BLURB>Power Saver Mode - Enabled</com.intangibleobject.securesettings.plugin.extra.BLURB>
    <com.intangibleobject.securesettings.plugin.extra.BLURB-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.BLURB-type>
    <com.intangibleobject.securesettings.plugin.extra.ENABLED>true</com.intangibleobject.securesettings.plugin.extra.ENABLED>
    <com.intangibleobject.securesettings.plugin.extra.ENABLED-type>java.lang.Boolean</com.intangibleobject.securesettings.plugin.extra.ENABLED-type>
    <com.intangibleobject.securesettings.plugin.extra.EXTRA_SPINNER_OPTION>user_powersaver_enable</com.intangibleobject.securesettings.plugin.extra.EXTRA_SPINNER_OPTION>
    <com.intangibleobject.securesettings.plugin.extra.EXTRA_SPINNER_OPTION-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.EXTRA_SPINNER_OPTION-type>
    <com.intangibleobject.securesettings.plugin.extra.SETTING>htc_modes</com.intangibleobject.securesettings.plugin.extra.SETTING>
    <com.intangibleobject.securesettings.plugin.extra.SETTING-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.SETTING-type>
    <com.twofortyfouram.locale.intent.extra.BLURB>Power Saver Mode - Enabled</com.twofortyfouram.locale.intent.extra.BLURB>
    <com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
    <net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
    <net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
    </Vals>
    </Bundle>
    <Str sr="arg1" ve="3">com.intangibleobject.securesettings.plugin</Str>
    <Str sr="arg2" ve="3">Secure Settings</Str>
    <Int sr="arg3" val="0"/>
    </Action>
    </Task>
    </TaskerData>

Similar Threads

  1. LG Optimus Dynamic Model LGL38C - Diag Mode
    By osxuser001 in forum LG Optimus Series
    Replies: 1
    Last Post: 06-18-2014, 03:37 PM
  2. HTC ONE X+ stuck in airplane mode,please help ????
    By Umar Khaliq in forum HTC One X
    Replies: 2
    Last Post: 04-29-2014, 12:50 AM
  3. Maybe it's just me but....
    By joe_m_p in forum Samsung Galaxy S5
    Replies: 6
    Last Post: 04-25-2014, 03:35 PM
  4. Adding YouTube to Kid's Mode on Galaxy S5
    By trishandtim in forum Samsung Galaxy S5
    Replies: 0
    Last Post: 04-25-2014, 03:27 PM
  5. HTC ONE X+ stuck in airplane mode,please help ????
    By Umar Khaliq in forum Motorola X Rooting, ROMs, and Hacks
    Replies: 2
    Last Post: 04-25-2014, 03:12 PM

Posting Permissions