Page 1 of 1

Battery save noroot

Posted: 05 Jan 2019 17:58
by Koshon
Hi. Can anyone help me with next?
I need enable battery saver without root.
I used a flow "variable logger" and now have this

Code: Select all

 [{item_count=-1, scrollable=false, from_index=-1, source_class_name=com.letv.leui.widget.LeSwitch, event_type=1, enabled=true, app_name=Диспетчер телефона, content_description=null, to_index=-1, label=null, fullscreen=false, password=false, scroll_y=-1, checked=false, triggertime=1546710190214, before_text=null, package_name=com.letv.android.supermanager, scroll_x=-1, removed_count=-1, text=, added_count=-1, source_bounds=[906, 1099, 126, 72], current_item_index=-1}]
But what should do with this - i don't know. Default flow or script? Which function? I think this is a setWidgetElementProperty(String widgetName, String elementName, String property, Object value) but what with string property? This is how it looks like in attached file. Sowwy if my English is broken.

Re: Battery save noroot

Posted: 06 Jan 2019 12:41
by Desmanto
You want to interact with the UI element, in terms of clicking it right? You should use Action Control UI, not Trigger UI Event. Tutorial on using Control UI is here : viewtopic.php?f=6&t=7320

You can look at the video tutorial too : https://www.youtube.com/watch?v=4HmNBfrw4Yk

Re: Battery save noroot

Posted: 11 Jan 2019 14:10
by Koshon
I don't need this thru the UI, cuz 1screen need to be activated, 2unlocked and 3the user interface must be showing on screen. This is not what i need.

Re: Battery save noroot

Posted: 11 Jan 2019 17:25
by Desmanto
I don't know if it works at yours, you can try to use action Set System Setting. At mine, RR 6.2.0, Oreo 8.1; the Extreme battery saver mode is located at Global - low_power. When set to 1, this activate the battery saver mode, 0 to back to normal mode.

You have to grant Automagic - Write Secure Setting Permission in adb at PC. Be careful when playing with the value, wrong setting can cause bootloop.