FORUMS

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 … more

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were … more

Feature Request - Quiethours - Mobile Data off

6 posts
Thanks Meter: 3
 
By Navalio, Junior Member on 23rd February 2014, 10:40 PM
Post Reply Subscribe to Thread Email Thread
Good day,

Is it possible to include option to turn off mobile data or stop sync in the menu of QUIET HOURS?

Seems, that it would be necessary for those, who nit using mobile internet while sleeping.

Thanks beforehand,
The Following 2 Users Say Thank You to Navalio For This Useful Post: [ View ]
 
 
24th February 2014, 10:21 PM |#2  
Senior Member
Thanks Meter: 131
 
Donate to Me
More
+1

Sent from my GT-N7100 using Tapatalk
28th February 2014, 04:38 AM |#3  
d3xp2pc's Avatar
Senior Member
Flag Newcastle
Thanks Meter: 246
 
Donate to Me
More
It would be useful to include this. I currently use battery widget reborn ( https://play.google.com/store/apps/d...pps.reborn.pro) because it includes this feature.

Sent from my Nexus 7
3rd March 2014, 12:30 PM |#4  
Senior Member
Thanks Meter: 5,095
 
Donate to Me
More
Please add to http://jira.omnirom.org
4th March 2014, 07:43 AM |#5  
OP Junior Member
Thanks Meter: 3
 
More
The feature with the mobile data off or sync off would be really necessary in order to avoid mass internet draining, keeps battery and made onve more automated option in omni. The photo of the menu for quiethours enclosed for easier reference. Kindly askinf to consider that feature.

Sent from my Nexus 5 using XDA Premium 4 mobile app
Attached Thumbnails
Click image for larger version

Name:	1393918979393.jpg
Views:	52
Size:	52.8 KB
ID:	2612343  
4th March 2014, 03:48 PM |#6  
Senior Member
Thanks Meter: 5,095
 
Donate to Me
More
Quote:
Originally Posted by Navalio

The feature with the mobile data off or sync off would be really necessary in order to avoid mass internet draining, keeps battery and made onve more automated option in omni. The photo of the menu for quiethours enclosed for easier reference. Kindly askinf to consider that feature.

Sent from my Nexus 5 using XDA Premium 4 mobile app

what have I written just above?
5th March 2014, 03:31 PM |#7  
OP Junior Member
Thanks Meter: 3
 
More
Sorry, will check and revert.

Added to @maxwen

So, your link to jira pushed me to read compliling from source.

Finally i managed to set up mine debian for building omni and installed repo tool.

I even made sucessfull built of omni.

But it still not fully clear for me how to apply the feature which was asked by me.

After reading xda forum in different trees i understood, that it needed to do cherry pick of the omni gear battery saver.

I order not to broke mine source directory (which at least built the ordinary release of omni) i would like to clarify the steps to follow to insert the code of battery saver.

Please check am i right:

1. Made cherry pick of the battery saver. It will be three directories of omni source: base, settings and omnigears.

2. Make brunch

3. If sucessfull then flash via TWRP.

?

I'm mostly interested in the first point where cherry pick goes on. As i read from gerrit page, the battery saver conflicts with the some files - do the conflicts should be manually corrected in those files or it is just a mention that those files will be overwritten?

And if the cherry pick made, is it necessary to make some changes in the .mk files for omnigears and settings in order that those would be included in compiling?

Thanks beforehand for your reply or at least to verification of the steps.

===ADDITION===

Without receipt of reply, the built was sucessfull and the battery saver appeared in the battery menu.

Thanks for the added option.

And please close the thread as SOLVED and feature completed.

Sent from my Nexus 5 using XDA Premium 4 mobile app
Last edited by Navalio; 17th March 2014 at 10:25 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes