5,596,784 Members 47,207 Now Online
XDA Developers Android and Mobile Development Forum

Feature Request - Quiethours - Mobile Data off

Tip us?
 
Navalio
Old
#1  
Junior Member - OP
Thanks Meter 3
Posts: 6
Join Date: Feb 2010
Default Feature Request - Quiethours - Mobile Data off

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: [ Click to Expand ]
 
klenamenis
Old
#2  
Member
Thanks Meter 55
Posts: 87
Join Date: Sep 2013

 
DONATE TO ME
+1

Sent from my GT-N7100 using Tapatalk
 
d3xp2pc
Old
#3  
d3xp2pc's Avatar
Senior Member
Thanks Meter 221
Posts: 778
Join Date: Jun 2010
Location: Newcastle

 
DONATE TO ME
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
 
maxwen
Old
#4  
Senior Member
Thanks Meter 4433
Posts: 4,163
Join Date: Jun 2012

 
DONATE TO ME
Please add to http://jira.omnirom.org
 
Navalio
Old
#5  
Junior Member - OP
Thanks Meter 3
Posts: 6
Join Date: Feb 2010
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:	48
Size:	52.8 KB
ID:	2612343  
 
maxwen
Old
#6  
Senior Member
Thanks Meter 4433
Posts: 4,163
Join Date: Jun 2012

 
DONATE TO ME
Quote:
Originally Posted by Navalio View Post
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?
 
Navalio
Old
(Last edited by Navalio; 17th March 2014 at 10:25 PM.)
#7  
Junior Member - OP
Thanks Meter 3
Posts: 6
Join Date: Feb 2010
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Sony Xperia Z, ZL, ZR, and Tablet Z to Receive Official KitKat Update in May

It’s no secret that although Sony is one of the most … more

Force Translucent Status Bar in KitKat ROMs with Xposed

It’s been a while since Android 4.4KitKat wasreleased, and we’re slowly … more

Fix the Ambient Light Issues on Your Google Nexus 5 using Xposed

The Google Nexus 5 is a great and rather popular device. This LG-produced … more