Battery save noroot

General discussions about Automagic and automation in general

Moderators: MURTUMA, Martin

Posts: 2
Joined: 04 Jan 2019 19:41

Battery save noroot

Postby Koshon » 05 Jan 2019 18:58

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.
Attachments
Screenshot_2019-01-05-21-37-42.jpg
Screenshot_2019-01-05-21-37-42.jpg (377.81 KiB) Viewed 150 times

User avatar
Posts: 1400
Joined: 21 Jul 2017 18:50

Re: Battery save noroot

Postby Desmanto » 06 Jan 2019 13:41

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
Index of Automagic useful thread List of my other useful posts (and others')

Posts: 2
Joined: 04 Jan 2019 19:41

Re: Battery save noroot

Postby Koshon » 11 Jan 2019 15:10

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.

User avatar
Posts: 1400
Joined: 21 Jul 2017 18:50

Re: Battery save noroot

Postby Desmanto » 11 Jan 2019 18:25

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.
Index of Automagic useful thread List of my other useful posts (and others')

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests