[app] HsdpaKeepalive v0.1 - Android Software Development

Have made a app that keeps your hsdpa alive while u tether on your phone.
Target ip is hardcoded(google dns)
You have possibility to change packet size and ping delay that suits your needs.
Remember to make a excemption on juice defender for this program, if u want to use ping while screen off ability.
Originaly i made this app for my personal needs since i didnt find similar one from market, any feedback on bugs or features is very much appreciated.
edit: Upcoming features which i plan to add: 1. Wifi detection, stops pinging when u have wifi on. 2. Automatic packet/delay calculation for hsdpa to keep on.
hsdpa keepalive v0.1

Related

SOLVED : Hero uses a lot (too much) background data!

Hi there!
Just got my first "Hero only" phonebill after getting the device and I must say I'm pretty shocked. It was 3 times normal!
I have only used Facebook INTERMITTANTLY and not logged in under the "Social" function. Twitter has been off. I haven't used email yet. I have only used Android Market under wifi and my only real usage has been various news sites with iPhone adapted webpages.
The only thing I can tell that's "on" has been the weather.
So I installed 3G Watchdog to monitor the usage and this is what I found out:
- In a twelve hour window with
- No Browser usage, no Facebook/Twitter/Flickr/Market
- Setting for Google has been "Enable background data usage" but not Auto-sync
- No Exchange usage or email
- Enable always on mobile has been activated
- No other internet function is activated as I can tell
- This has resulted in 610kb if data usage, that's 1.2mb in 24hrs
- That's 36MB a month, 436mb a year (and I pay per mb)
To me, this is "data out the widow" which I havent used, but the Phone has somehow "eaten" up.
I feel as though I havent got much control over how and when the Hero used data, the settings are not "clear" in the Android/Hero settings on administrating data usage. In my instance, it uses data without me needing it.
Is there any way to monitor WHICH program or function uses data without need? Ie. something like 3G Watchdog but more detailed?
there is net-counter.. but its familiar to 3g watchdog..
Android phones, and phones like them (e.g.iPhone) are really not designed to be used with "pay per MB" plan. I couldn't tell you what processes are going to be "consuming" data, but I'd consider 1.2MB to be pretty insignificant, though I understand that if you're paying by the MB your opinion would be significantly different.
I know it's probably not much help, but if I were you, since you are not using any of the "push" facilities of the device (e.g. GMail) I'd be inclined to switch off mobile internet and only switch it on as you need it.
Regards,
Dave
foxmeister said:
Android phones, and phones like them (e.g.iPhone) are really not designed to be used with "pay per MB" plan. I couldn't tell you what processes are going to be "consuming" data, but I'd consider 1.2MB to be pretty insignificant, though I understand that if you're paying by the MB your opinion would be significantly different.
I know it's probably not much help, but if I were you, since you are not using any of the "push" facilities of the device (e.g. GMail) I'd be inclined to switch off mobile internet and only switch it on as you need it.
Regards,
Dave
Click to expand...
Click to collapse
Good advise there for you. 1.2Mb is very little though in the big scheme of things. Its about a minute of a typical MP3 or less than the capacity of a floppy disk (if you remember those).
The phone is designed to be used with an unlimited data plan - its a cloud based phone really.
As an aside, I do think these plans are still too expensive in reality.
foxmeister said:
Android phones, and phones like them (e.g.iPhone) are really not designed to be used with "pay per MB" plan. I couldn't tell you what processes are going to be "consuming" data, but I'd consider 1.2MB to be pretty insignificant, though I understand that if you're paying by the MB your opinion would be significantly different.
I know it's probably not much help, but if I were you, since you are not using any of the "push" facilities of the device (e.g. GMail) I'd be inclined to switch off mobile internet and only switch it on as you need it.
Regards,
Dave
Click to expand...
Click to collapse
I'm aware of this fact Dave, I had the Diamond before I got the Hero. But what I lack is a built in function to "control and monitior usage". As of right now, it seems like it lives it's own life. If you have an unlimited plan, you wont really care. But Another point is the fact that this "unwanted" data usage consumes battery power and thus limits the battery life.
All I want is to be in control of my phone....
I am considering an unlimited plan or a 1gb/2gb plan. But there is a "cap" on my current plan where I won't pay for data over 3MB every day, but it's still a lot when you use that much every day.
You could try something like Droidwall ( http://code.google.com/p/droidwall/ ), but this only works for rooted devices.
At least you should be able to "whitelist" the apps that you want to be able to talk to the outside world, and see if this has any material effect on your data usage.
Regards,
Dave
Perhaps something obvious, but have you turned off the 'always on mobile data'?
You can find that under the wireless controls, mobile network settings.
And with a lot stuff (like the weather applet) you can disable the automatic updates.
Also turn off some data sync stuff under settings, data synchronization.(Google services for example).
Hope this helps a bit, although you might have done this already
Droid wall might help otherwise as a previous post also says
I had the same problem as I don't have a plan and my carrier charges per mb , so I installed APNdroid (it changes the APN settings , and restores it if you want to use mobile network ) .
HTC even provide a widget to turn mobile data on and off quickly. Put it on your Home screen.
I used this while on vacation to avoid huge data costs.
Also set Google synchronisation to non automatic, sync it when you need too.
TBH though, the Hero is such a data centric device, its pretty boring with no live data connection... as are iPhone and any other smartphone.
RaptorRVL said:
Perhaps something obvious, but have you turned off the 'always on mobile data'?
You can find that under the wireless controls, mobile network settings.
And with a lot stuff (like the weather applet) you can disable the automatic updates.
Also turn off some data sync stuff under settings, data synchronization.(Google services for example).
Hope this helps a bit, although you might have done this already
Droid wall might help otherwise as a previous post also says
Click to expand...
Click to collapse
"Always on" should not use up data as it is only there to keep the connection open so the phone doesn't have to connect each time an application needs to use 2G/3G/3.5G
I disabled the always on, weather etc... but something is still consuming data. Must be one of the apps circumventing the phone settings.
But my point is this, it is to diffucult/complicated/cumbersome/unintuetive so control the amount of data the Hero uses.
Also make sure stocks is set not to update.
If you are really concerned then just turn mobile data off until you need to use it (via the widget).
The point of these type of phone is to connect to many different services. Its simple to turn all data off if you wish.
The expectation for the smartphone is that it will be dragging information in constantly, keeping you up to date with your social network.
However, you might try WiSyncPlus to automatically disable data access when you are not in range of known WiFi networks. That might be the easiest way of controlling your data consumption over the cell/mobile network.
SOLVED:
The new official Facebook App was to blame for almost the entire 1,2mb a day usage. I did not log out, just pressed the home button and the app was running in the background updating.
Is this a bug? Is there any need for it to update when you don't have it open? I'm thinking battery power here as well as data usage.
Sebastian768 said:
SOLVED:
The new official Facebook App was to blame for almost the entire 1,2mb a day usage. I did not log out, just pressed the home button and the app was running in the background updating.
Is this a bug? Is there any need for it to update when you don't have it open? I'm thinking battery power here as well as data usage.
Click to expand...
Click to collapse
The "Home" button doesn't actually shut down the app , it merely puts it to sleep. The "Back" button on the other hand closes the app and removes it from memory.
Linux has it very own and famous scheduler which on its own manages sleeping apps and can discard them from memory at will when the need for more memory exists
In settings you have the option to set the refresh interval, you can change it to 0. Might also be worth using a task manager to kill unwanted programs.
Devs need to write their apps correctly TBH. If its in the background and the user has not set its background processes to keep working, then it should stay silent.
ONLY if a user elects to have background processes running should an app continue to work away.
A simple setting in an apps preferences is all thats needed.
The back button to kill apps... thats pretty silly TBH especially with Browser. You would have to hit back multiple times to return to the very first web page you opened before you actually exited the app... very cumbersome.
Again, a simple setting in each app and indeed globally in the Hero's settings would make life far less confusing.

[ATTN - ALL SGS ROM COOKERS] 2g/3g toggling. This concerns you!

Please read carefully!
A very good way of saving battery life is turning the 3G connection on only when needed.
Unfortunately there currently is no api that allows doing that, only two apps that use a workaround and require your special attention for signing.
The first app is Toggle 2G and is made by our fellow member TheMasterBaron and it requires custom signing.
The second one is JuiceDefender's addon "AOSP helper":
The AOSP helper might work on other "pure" AOSP custom ROMs - it just requires signing by the "cook". If you want the AOSP helper to work with your custom ROM, contact me - I'll send you the apk for you to sign.
Click to expand...
Click to collapse
If you are serious about rom cooking and want to prove so, please post the name and status(Working, which one of the 2 apps?/Not working) of your ROM.
Thanks for your interest
The final purpose of this addition to a custom rom is the ability to switch 3G on automatically(via Tasker or JuiceDefende) when starting preselected apps (like internet) and turning back to 2G mode when speed is no longer required, thus saving a lot of battery)
Please do not post or talk about useless apps like switchpro that is only a shortcut to mobile network settings or widgets that turn off the connection completely.
This is about api level implementation of this feature, if you don't know what that means please refrain from posting,
switchpro widget has workaround to swap 2G/3G
Juice defender is great control everything you need
Sent from my GT-I9000 using Tapatalk
Smoda widget does 2g/3g switching
This thread is for rom cookers only and is about switching from 3G to 2G (not turning internet off) automatically (not by entering the settings menu from a shortcut)
Would love the jd to work.
Funny thing - it actually works on froyo (at least jpc).
Try reading the setup log, AOSP plug-in install always fails (JPK).
Didnt use anything newer than JPC, but I installed and used AOSP helper on it (that was quite a long time ago). JD version was something like 2.1.8 (agcourse dont remember the exact version, just guessing).
This is certainly valuable info, there was a note somewhere about these two apps being able to work on leaked roms.
well, def doesn't work on JPK
I would love this though, I hate having to disable the APN or switch it to GSM just so my batt doesn't die in 12hrs. if it could go 3G only for internet/youtube etc and 2G for everything else that'd be awesome
Yup, that's what I want, but we have to get the cook's attention first
I have code that can switch 2G/3G on SGS stock ROMs. Haven't released it yet though, as for now it only works on GSM, and on some other devices it pops up the PIN screen for some reason. Haven't figured out exactly why yet, but it works great on my SGS, anyways.
It'll be released soon ... (I'm actually working on a WMLongLife port to Android)
Chainfire said:
I have code that can switch 2G/3G on SGS stock ROMs. Haven't released it yet though, as for now it only works on GSM, and on some other devices it pops up the PIN screen for some reason. Haven't figured out exactly why yet, but it works great on my SGS, anyways.
It'll be released soon ... (I'm actually working on a WMLongLife port to Android)
Click to expand...
Click to collapse
Awesome! can't wait
Chainfire said:
I have code that can switch 2G/3G on SGS stock ROMs. Haven't released it yet though, as for now it only works on GSM, and on some other devices it pops up the PIN screen for some reason. Haven't figured out exactly why yet, but it works great on my SGS, anyways.
It'll be released soon ... (I'm actually working on a WMLongLife port to Android)
Click to expand...
Click to collapse
Sweet.
Any chance for auto-2g/3g toggle when the screen goes off? That would be really nifty!
..and maybe a bit buggy too.
I'd rather have something I can use with Tasker to create my own rules.
Yup, a working app is all we need and Tasker can do the rest
I only want to use it for selected apps like the browser, market etc.
I also thin it would be best to have an app for on and one for off to ease the toggling process and not accidentally turn it on instead of off since I don't know if Tasker can check the GSM status this way (and if it does it would require a new rule making it more complicated)
Bec07 said:
Yup, a working app is all we need and Tasker can do the rest
Click to expand...
Click to collapse
What we really need is "Tasker" to be Android-native like it is on the iPhone. And control over communication without Google breathing down our necks too much. The whole existence of this topic is because Google set it up for 2-way data gathering with both parties (you and the application) having an equal say in the matter. Both parties can bend this mechanism to their liking somewhat in practice.
Ummm... google didn't provide the api, that's it... There's no issue with tasker.
There's plenty of alternatives(2 as far as I looked) for this particular "task" but the switch is what's missing.
Maybe we'll get the api in a later version and various coding tricks won't be required anymore.
Bec07 said:
Ummm... google didn't provide the api, that's it... There's no issue with tasker.
There's plenty of alternatives(2 as far as I looked) for this particular "task" but the switch is what's missing.
Maybe we'll get the api in a later version and various coding tricks won't be required anymore.
Click to expand...
Click to collapse
The point with Tasker (and alternatives) is that you get about 80% of what you want/ need (in
Eclair) which might be enough for what you want or totally inadequate. It cannot truly detect (let alone intercept) an application start or exit, but will in general always lag behind the facts. In Froyo this becomes especially clear as there are even less hookups for work-arounds causing pathetic behavior at times.
What good is it to have a 3G/2G switch if you cannot let it start before your browser, unless using a script + custom icon. How do you detect if you left the browser if Tasker (for instance) treats any change of application (even switching) as leaving the previous one? In Froyo this currently means that it actually waits till you start a new application before it "sees" the exit of the previous one, which you left a minute ago. You really want native control over these things as well.
But enough of this.
Ettepetje said:
It cannot truly detect (let alone intercept) an application start or exit]
Click to expand...
Click to collapse
Uh, how so? I used it for quite a while and I haven't seen any lags or issues in task execution.
You can't really ask it to predict your thoughts now can you

Some battery saving tips for Android devices

Some battery saving tips for Android devices
The Android phones are now becoming extremely popular because there are many different triangles, the app store is extremely rich to meet everyone's needs. However, there is a problem of computer users run Google's operating system or experience, which is the machine drain the battery pretty fast. In the following article, I will review a number of tips collected after a period of use to help extend battery life for Android devices. Invite you to join us to share the experience of using your right in this topic to add rich content.
Check the battery consumption of the components in the machine
By default, Android has built us a battery manager quite useful and you can access it by going to Settings> Battery (for Android devices 4.0 or higher) or Settings> About Phone> Battery use (with Android 2.x devices). Here you will find a series of computer applications listed with a percentage figure represents the energy consumption of the app. Do not just stop at the application, the Battery also provide information for us to know that the system, screen, Wi-Fi consume what percentage of battery when the phone is placed in standby mode, the stars, the mode operation, the stars. You can see this as an "observatory", where you can closely monitor your entire system.
In case you discover a number of applications drain the battery too much, we can quickly turn them off by pressing select the app, press the Force Stop button. Also in the new window opens, you will see the details of the software used to machine resources, such as CPU access applications for how long, how long GPS, the background for several minutes, the amount of data sent / received on. If you feel no need to use such software because it causes more battery power, you can remove it from the machine.
Besides, this manager also gives us a graph depicting the change of battery during use. For example, during the first two hours of machine you use to surf the web, play games, then the line will drop faster than the period for idle factory. Immediately below the bar chart is a long series tell you that the connection / items that have been enabled for how long. Some vendors, such as HTC has customized this chart more intuitive way, providing more hours should be more convenient for you when you need to track.
Switching between 2G and 3G
When using mobile Internet, we have two options: either use 2G or 3G use. Benefits of 3G, then surely you all know, it is very fast access speed, so the web browser, download the application will be completed in a short time than 2G (or commonly known as GPRS, EDGE). However, the downside is that it does 3G drain the battery very fast machine, sometimes causing market is heating up again. Therefore, if you need long time use Android devices, you turn off 3G away when not needed, just idling 2G only. For example, when browsing or searching location, load maps, we use 3G for optimal speed when not in use, the switch to the 2G network to serve the gentle features such as check email, update Facebook's announcement. Thus, the machine's battery life will be extended significantly.
To set the machine to run only 2G, Android device, you access the Settings> More> Mobile Network, select "Use only 2G networks", if you want to use 3G, then uncheck this. However, we have too many steps and gain access to this section, so I suggest you use a small widget called 2G-3G OnOff. After downloading, you perform a widget on your home screen as usual. Every time you need to switch between two types of connection, click the icon of the app, the screen immediately have the "Use only 2G networks" will appear. It will help us save a lot of time from having to manually customize.
Select chip equipment optimized for battery life
In part the battery saving things related to wireless connectivity, without configuring the software, I would like to share some of the little things related to hardware. Currently, Qualcomm is the only manufacturer to find a way to integrate components such as wireless transceivers GPS / GLONASS, 3G/4G LTE up straight in SoC (ie chips used in mobile devices, in which contains the CPU). Compared with NVIDIA Tegra SoC machines running 3/4 or Samsung Exynos - which used the chip and wireless module are separate, Qualcomm solutions help optimize battery life better. Speed ​​transceivers, cellular 3G is also enhanced, faster access speeds. Therefore, when you buy a smartphone, tablet using Qualcomm Snapdragon SoC, the level of savings and speed to excel compared to the SoC line from other companies, especially those who often have to use 3G.
Some machines use Qualcomm Snapdragon SoC can be listed today as LG Nexus 4, LG Optimus G, LG Optimus LTE II, HTC Butterfly, X HTC Desire, HTC Desire SV, SV HTC One, HTC One S, Sony Xperia T / TX, Xperia V, Xperia S / P / U, Motorola Droid RAZR HD / MAXX HD ... It also saves battery on the right side of the machine running both Windows Phone 7 and 8, which are using Qualcomm's S4 Snapdragon SoC, such as the Nokia Lumia 920, Nokia Lumia 820, HTC Windows Phone 8X, HTC Windows Phone 8S, Samsung Ativ S. ..
Refining self-synchronizing data
The automatic synchronization of data is also a factor affecting the battery life of Android devices. Automatic sync means that the software will continue to get access network information, such as when you push mail or Facebook check such notification. If you need to use it with no problems, but in case you use it at this truly is a very wasteful. Not only that but the battery as fast as it also makes the system slow down if your machine does not have a very powerful configuration. Therefore, let us manage the synchronization of Android devices by accessing each specific application, for the configuration / settings / configuration to customize them. Here I will show some typical software.
General Google Account: You access the machine's Settings, scroll down below to see the Accounts. There are many different types of accounts, select the Google line. Continue to take an email account in case the machine is logged multiple addresses, then you will see a series of tick marks to sync select content. We have: sync calendar, bookmarks / history of Chrome, contacts, Google Drive, Gmail, Google Currents, Google Photos, Google Play Music, ... If you do not like something, synchronous machine so that you uncheck travel is completed.
Gmail: run the software, click the three dots in the lower right corner of the screen, select Settings. Select the account to which you configure, looking down at the Data Usage. Here is a line called "Gmail sync is ON", touch it. In the dialog box that appears, uncheck Auto-sync app data if you want Gmail to stop auto complete email as soon as a letter just received. You can also customize each one Google account as needed.
Facebook: Facebook launches app, you click the three dots in the lower right corner of the screen, select Settings. In the Refresh Interval, select the time interval between two self-refresh app content. You can for 1 hour if used Facebook, but not the 2 hours or 4 hours is fine. Also, with Facebook, you can go to the Settings of the machine, browse Facebook in the Account text, deselect the "Contacts" app not proceed to synchronize contacts.
Yahoo Mail: This section is quite similar to the general Google account, you are also in the machine's Settings> browse to the Accounts> Yahoo. Choose to your account, if you do not want to uncheck Contacts sync contacts, uncheck if you do not want to download mail Messages as soon as it arrived.
Dropbox: Unlike the sync app is on the simple things, Dropbox allows us to upload photos automatically have snapped up on the company's servers, which is extremely convenient when you need to make a save Reserve as soon as the image is recorded. To refine this feature, you launch the Dropbox software, click the three dots in the upper right corner of the screen, select Settings. If you want to completely turn off auto upload, select Turn off Camera Upload. And if you want to sync only when there is Wi-Fi, you click Upload lines using> Wi-Fi only (also stream data plan or Wi-Fi, the download allows both 3G and Wi-Fi, but that the loss machine battery pretty fast so you might want to consider while taking). The online app store like SkyDrive, Box, SugarSync and you do the same.
Reduce unused connections
This procedure is one of those things apply across platforms, from mobile devices running Android, iOS, S40, BlackBerry, Symbian and PC. Wi-Fi connection is very useful, it helps for applications in machines, especially the networking applications such as Email, Facebook, Twitter, RSS ... work smoothly and efficiently, but also so that makes the battery faster. If you go to places where there is no Wi-Fi or Wi-Fi signal is weak, the machine detects Wi-Fi all the time, the machine drains the battery faster. So, if you do not need Wi-Fi to turn off by going to Settings, Wi-Fi gotten to the OFF. Do the same for Bluetooth connectivity, 3G. If you are currently using Android 4.2, you can quickly shut off by using two fingers to drag the status bar will show the buttons appear as shown below.
It should be noted that if you regularly use the wireless connection, the aforementioned toggle is often not a good idea. I've been testing and found that the continuous turn will make the battery faster than normal wear, and many, many technology news site also confirmed the above phenomenon. The reason for this is explained by each enable Bluetooth or Wi-Fi or 3G, the machine must use more energy to find and establish a connection. Energy consumption in the boot process is much higher than the energy needed to maintain connectivity. Therefore, if you need to use Wi-Fi or 3G more then let him thus limiting open off several times.
Adjust the screen brightness automatically
The screen is a component of the "eat" batteries in a mobile device, regardless of which machine is running Android, iOS or Symbian. Therefore, Google has applied the method to adjust the screen brightness for your operating system. This feature on activities using a sensor called ambient light sensor, usually next speaker layout or on the side of the machine, to see the brightness of the environment around the user is, from which crystals adjust the brightness of the screen accordingly. This approach has three advantages: saving battery power, energy saving manual adjustments, just to help our eyes more comfortable. If you often have to move between the brightness difference where this is extremely useful features. Once inside, the machine self-adjust the screen darkens a bit to save battery power, even when it came out way too bright on the screen for you to see better in the sun. It's convenient right?
To enable the ability to adjust the brightness on Android 4.x, go to Settings> Display> Brightness, select the check box Automatic Brightness. If you are running older Android versions like 2.3, 2.2, please go to Settings> Sound and Display> Brightness, Automatic brightness adjustment press box. You note that this option only applies to machines equipped ambient sensor ok.
Keep your phone in a cool place
Can you believe this is not related, but the real ambient temperature greatly affects the performance of the machine as well as the use of batteries. Normally, the battery works better in a cool place, and the heat for a long time that the battery power dropped away much quicker. Therefore, you should limit the phone tucked into places too narrow to avoid the sun shines directly into our time machine too long. So you just help better battery life, the life expectancy has increased for the other components of the machine.
Use the Google application "dark"
Google provides many applications for its Android operating system (such as Gmail, Maps, Google+, Music, Documents ...) and most of these applications have in common colors are white, black letters. If your phone uses AMOLED screen it is best to turn it on a black background to save battery life. Two of these displays have the advantage of being able to black out, it will turn off the pixel goes to an absolute black, the only color other then the new pixel color that glows. Whereby it will save a lot of battery when using a black background with many apps like this. So how to switch to a black background? Very easy, a modder named "rujelus22" mod to have the app on Google and convert them to black and white text background colors, all you need to do is download and install only.
rujelus22 that you can install parallel black background applications with legacy applications. But on a certain number of machines, you may need to remove the original, the new Google application installed the "black" is. You can download the application "dark" is the link: MediaFire / or update FShare add new applications in the source link of the author. Conduct a Flash file into the package or set each file sequentially. APK one.
List of Google applications have been converted to black tones:
Google Play
Google+, Gmail
Google Docs, Google Voice, Google Translate
Search Box
Google Talk, Google Reader
Google Music, YouTube
And other applications:
Twitter, Dropbox
Virtual Keyboard ICS and Gingerbread
(Excerpted from his @ TDNC: [Android] Save battery power with the Google apps dark)
Limiting the use of advertising associated software
In addition to the reasons as old as the big screen, powerful hardware to the researchers from Purdue University and Microsoft found that 75% of battery consumption on Android case related to the application by in-game ads cause. Android has a lot of free software and games, most of all we are and will insert advertising is constantly in the process we use. These ads constantly connected to the Internet and transmit that information to the Android machine becomes so drain the battery. It is so, I had previously tried a number of free applications that support the ad noticed lagging computer battery a bit faster than using the app, but is also a chargeable ( ie no advertising). Therefore, you should purchase a software license, just to support authors, both respected intellectual property law and minimize battery consumption by advertising with me, but if not then you have to take the trouble to find files information install APK format on internet such.
Stopping or removing unnecessary app
You will never know what software is running in the background if they are not managed in a coherent way through the menu Settings> Apps> Running tab. Some app seemed gone off but we really still running and continuous access to the system resources. If the app you use it often or do not say, but there are things we run up a long long time, so that a system occupied unnecessarily, to make our machines drain the battery more quickly. In this case, you should stop the application by selecting desire to take an app, press the Stop button in the process are displayed. In addition, you can also remove them completely out of the machine to not accidentally activate the app is not necessary.
The backend applications for prolonged battery life
Juice Defender
Android has many additional applications to help you manage and increase the battery life, which is a famous software called Juice Defender. It will automatically set system parameters to optimize battery life for the machine. The free version of JuiceDefender supports the Balanced and Aggressive configurations, providing limited ability to control the data connection and synchronize calendar. Plus version ($ 1.99) to expand custom configurations and more Aggressive custom calendar sync. Ultimate version ($ 4.99) has additional functions such as AutoSync (automatic sync), Screen Timeout (Romance of time off screen), Screen Brightness (Adjust the screen brightness) and many additional custom calendar at sets. If the root device, this software also allows you to control the CPU speed, GPS and switch between 2G/3G mode.
To use the free JuiceDefender is very simple, follow these steps:
At Play Store to find and install JuiceDefender installed on machines or at this link.
Running JuiceDefender select Enabled. That's it.
The second configuration is free to choose the Balanced and Aggressive. Also, the free version only manage Mobile data is connected, so in theory the Plus or Ultimate will save more battery. The management style of the free time you use the battery by about 50%
Balanced Configuration: With this configuration, Mobile data connection will be automatically switched off when the phone screen is off. Every 15 minutes, the connection will be activated to sync data (email, calendar ...)
Aggressive Configuration: Balanced Like in that the screen is off, it would automatically turn off Mobile Data. Yet another place is just 30 minutes, the connection will be activated to sync. This configuration is another place again when the battery is too low, then the connection will not be activated even when the screen is open. Maximum battery savings.
For normal users, simply enable the free version is finished. If you want more than that, you can use the Ultimate version, others will have a more detailed article on this premium version (Excerpted Saver for Android with Juice Defender my @ vuhai6)
Battery Doctor
A free app also helps us save battery management and an intuitive, Battery Doctor (download here). Its main feature is to provide relative time that you can use with current battery capacity (the accuracy of the minutes), when the principal warning or when a fully charged battery, automatically adjusts system components such as Wi-Fi, GPS, Bluetooth to save battery life by different modes: Extreme - only messaging feature called active listening, Clock - alarm clock only activities and Custom - customized according to your needs.
When you click on the battery icon in the park outside the main screen, Battery Doctor allows us to view the status of batteries, current battery capacity, temperature, battery voltage, battery technology. A chart above also allows you to monitor the energy consumption of the machine for any period of more battery power, about which little use, ...
Also, a point that I find interesting is that when using Battery Doctor to turn off the connection type, the battery time remaining will increase or decrease in an intuitive way (some minute changes expected soon ), from which you can easily decide which one should be turned off the public. It also will tell you the time relative to the full charge of your Android machine is how long.
Sony Smart Connect
There is a free software quite useful for you to shut off timer connection types, such as Sony Smart Connect (Download the Sony Smart Connect application). This application is the automatic functions perform a variety of tasks in a certain time you set, or when you connect a peripheral device to the mayAndroid her. The interesting point is that each series of actions that can be divided by "facts" are different, for example, you go to work 7 am, when the machine breaks free Wi-Fi, transfer ringtone to silent mode, and to 5 pm, the machine switches itself on the ring and Wi-Fi. It should be added that Smart Connect developed by Sony, but it can run on all Android devices of other manufacturers. I have tried to install on multiple machines HTC, LG and Smart Connect the Nexus 4 will work fine.
After you download the software, run the app Smart Connect. In the main interface, click the + button in the upper right corner of the screen, enter the name of the new event, such as "go to" for example. In the new screen appears, the item When you click on the "Add condition". Here, you can set the app to trigger events based on the hours or recommend charging / headphones recommend (with the Sony Xperia, you have a lot of other ways activated by touching SmartTag, connected to SonySmartWatch, ...). If you choose, you can choose hourly event repeats every day or some days of the week.
Next, we will set the machine will do the action sequences. In This is the result of the action will take place at the start of the event, and the "At The End" is what it will do when the event ended. As I said to the example earlier, to go to the event, you can set the Do This includes the mute, turn off Wi-Fi, 3G open, running app map. And At The End section, select the Wi-Fi open, open the bell, turn off 3G. You can apply similar measures to the machine itself off when going to sleep sound, light and time again that they open themselves. Additionally, you can place orders for Smart Connect launch a particular application, posting new status to Facebook, ... After you've installed the action series, do not forget to flip the switch to On top of the screen, while the new machine and run track events as we have to.

Any application for network traffic?

Is there any application to monitor the real-time network traffic? I have tried many applications like internet speed meter, float network monitor or some other network monitoring apps. But they all showing current upload/download speed and daily/monthly data usage. What I am looking for is since my internet bandwidth speed is limited and slow, I would like to know what applications is now downloading/uploading with the speed of ??KB/sec so that I can see it and close it down them running in background.
Thanks in advance.
I guess the title of the topic is kind of confusing. You can ask something like, data usage per app monitor or that type.
satslu said:
Is there any application to monitor the real-time network traffic? I have tried many applications like internet speed meter, float network monitor or some other network monitoring apps. But they all showing current upload/download speed and daily/monthly data usage. What I am looking for is since my internet bandwidth speed is limited and slow, I would like to know what applications is now downloading/uploading with the speed of ??KB/sec so that I can see it and close it down them running in background.
Thanks in advance.
Click to expand...
Click to collapse
Not exactly what you want but you may try this:
open Settings > Data usage. Here you can see a list of apps and their corresponding data usage.
You can also tap on each app and select "Restrict background data" to prevent it access to the Internet using mobile data connection.
vndnguyen said:
Not exactly what you want but you may try this:
open Settings > Data usage. Here you can see a list of apps and their corresponding data usage.
You can also tap on each app and select "Restrict background data" to prevent it access to the Internet using mobile data connection.
Click to expand...
Click to collapse
Thanks for all ur answer. May be u all got me wrong. Let me explain a bit more.
Let's say if my internet speed is max at 64KB/sec. If I want to download the file with max speed or want to load youtube video with full speed, I dont want to let other applications running in background and taking certain porting of my network traffic and making everything jammed. If I can have such applications (DU meter, net meter)in windows, I can see what is currently running such as ( windows update, antivirus update), then i can stop them and let my desired application run at max speed. Even though my device is multitasking, i cant do multitasking in network due to network speed limitation.
I hope you all can understand my problem.
I don't think there is an app that limits its allocated bandwidth. I know it's not the same but, WifiKill is useful if you are dealing with other people using the wifi, but other than that I don't think an app that controls the bandwidth on a per-app basis exists.
I wish developers can do that in future.☺

Regarding Moto G's battery life and saving tips

My previously phone was just a low budget Xperia X8 but I was used to only have to charge it each 2/3 days with normal usage.
So, after buying the Moto G 2nd Gen and having to charge it twice a day in the first days of usage (heavy usage I must say), I started to try to find ways how I could optimize the battery of my new phone.
I started reading about how what changed with newer versions of Android, the issues lollipop has and the impact services and apps have on the battery life in current versions of Android with the technologies our phone has.
I started looking into tasker and many other apps, and thinking in rooting my phone to have even more control over the battery usage, but even without rooting, I manage to make it last 3 days with normal usage (more than 7 hours on screen time heavy usage).
At that time I was like "Great! Now I only have to charge it once every 3 days just like my old Xperia X8". But then it came to me, my smartphone wasn't actually that smart after all the tweaks I had to make to save its battery.
At that point I started to do lots of tests to check what's really draining the battery and after all those tests now I have a battery that lasts 2/3 days with normal usage while having a true smartphone!
This is what you should do:
Note: I have the model XT1068 and I'm using two sim cards with it, and you'll need the app tasker for a crucial step but you will NOT need root.
_______________________________________________________________________
WHAT YOU SHOULD DISABLE:​
- Disable "Ok Google" detection -> big battery drainer
- Disable the following apps:
Assist
Motorola Alert
Motorola Contextual Services
Motorola Migration
Motorola One Time Init
Motorola Notification
HP print service (you already have google cloud print service)
Motorola Init Services
Help
Motorola One Time Init
You should also disable all the google apps you don't want to use.
- Disable Wifi always on network search
- Disable Wifi every time you are not using it
- Disable Auto-Sync (you'll have auto-sync back in a more smart and efficient way using tasker)
- Disable Ambient Notifications (you already have the notification led to warn you about incoming notifications)
- Disable Audio Effects
- Temporarily enable auto-sync so you could manually disable all the apps you don't need to be synced (ex.: Google Plus, Drive, etc). Disable auto-sync after you are done with the changes.
- Disable all those reports being automatically sent (sorry developers, but that really adds up to the battery usage with multiple apps doing it)
_______________________________________________________________________
WHAT YOU SHOULD ENABLE TO KEEP YOUR PHONE SMART
(Unless you don't ever use it)​
- Enable Bluetooth (Bluetooth 4.0 consumes nearly 0 battery while not paired to a device, even paired it consumes little power with newer devices)
- Enable Mobile Data
- Enable location in high precision mode (it will activate GPS when an app needs it)
- Enable Auto- Brightness (adjust the brightness slider to 60% or less after that, the lower the better)
- Enable notification light
_______________________________________________________________________
SETTINGS AND TIPS​
- If you don't have a really strong 3g sinal switch to 2g mode
- Set the screen to go off after 30 second or 1 minute
- Use a magnetic flip cover so it automatically awakes your device and also automatically makes the screen go off when you close it
- Do not use apps known for their heavy impact on battery !VERY IMPORTANT! ( Use Chrome to access facebook, don't let your online messaging apps be always on, etc.)
- Don't use wifi with a bad signal, well, better said don't use any network with a low signal or else your battery will drain fast. Enable Air plain mode if your network signal is really low.
- Keep your internal storage with >600MB of free storage
- Use only simple methods of unlocking your phone (Don't use anything that uses location services, camera, microphone, etc.)
- Do not let apps being always on using network services like GPS (adjust the app setting so it only uses when you use the app)
- Get rid of any app you installed but don't need
_______________________________________________________________________
Tasker: Making your phone more efficient​
- Create a profile that goes on while you have AC power connected and when it goes on it enables Wi-fi and Auto-Sync, when it goes off it disables those features.
- Create another profile that repeats from the time you wake up until the average time you go to bed, and make it repeat every 2 or more hours (depends on your sync needs). What it should do is enable auto.sync, wait 3 minutes, then disable auto-sync
_______________________________________________________________________
Congratulations now you have a true smartphone with a good battery life!
​
I think I didn't forget about anything, but if I did I will edit this post.
Actually, disable any unused or unwanted app and install Greenify to force quit the rest of these apps you can't disable.
ksuuk said:
Actually, disable any unused or unwanted app and install Greenify to force quit the rest of these apps you can't disable.
Click to expand...
Click to collapse
For Greenify to work as intended you need to have root access on your device. For those with root access Greenify can be a great way to freeze apps you really need but are programmed to be always running in the background. Without root access Greenify to work automatically consumes a lot of battery because it needs to turn on your screen while the device is asleep.
I decided to not talk about root methods to keep this guide accessible to everyone
rbmaster said:
For Greenify to work as intended you need to have root access on your device. For those with root access Greenify can be a great way to freeze apps you really need but are programmed to be always running in the background. Without root access Greenify to work automatically consumes a lot of battery because it needs to turn on your screen while the device is asleep.
I decided to not talk about root methods to keep this guide accessible to everyone
Click to expand...
Click to collapse
ksuuk said:
Actually, disable any unused or unwanted app and install Greenify to force quit the rest of these apps you can't disable.
Click to expand...
Click to collapse
*Duplicate Thread*
The guide how to get the best possible battery life on your moto g deals with all this and goes into advanced and root methods to reduce battery consumption on your device
Sent from my Moto G XT1068 using Tapatalk
Duck86 said:
*Duplicate Thread*
The guide how to get the best possible battery life on your moto g deals with all this and goes into advanced and root methods to reduce battery consumption on your device
Sent from my Moto G XT1068 using Tapatalk
Click to expand...
Click to collapse
It's not a duplicate thread. In your guide the goal is to have the best battery life possible but for that it compromises a lot of the features that makes the phone smart, it compromises convenience of use for every 0.01% of battery life possible.
I read it and it's a well written guide but with a very different goal. The goal of this guide is to have a good battery life while having most of the smart features available.
Sorry, you have too much conflicting info in this guide. Having auto brightness enabled certainly doesn't make it a smart phone and definitely not set at 60%. Suggesting having data always on isn't always a good move, especially for those with limited data.
Sent from my GT-P5210 using Tapatalk
Tel864 said:
Sorry, you have too much conflicting info in this guide. Having auto brightness enabled certainly doesn't make it a smart phone and definitely not set at 60%. Suggesting having data always on isn't always a good move, especially for those with limited data.
Sent from my GT-P5210 using Tapatalk
Click to expand...
Click to collapse
Auto = automatically, that's a smart feature, it adjusts the brightness of the screen automatically. Nowadays, the way it is programmed makes it way more battery efficient than before. Adjusting it at a maximum of 60% is just a guideline, but 60% auto brightness is not 60% brightness., the value is just a guideline for the auto brightness algorithm.
About the data always on, having data on doesn't require that much extra power, it only drains more power IF some application requests data. While not the most efficient solution, in Android Lollipop there's no better way to keep feature like auto.sync on without having the data always on, unless you have root access. If you have root access you can set up tasker to automatically enable and disable mobile data when the phone tries to auto.sync and/or when the screen is on.
As I said previously, this is a guide for everyone, no root access required, and the goal is to have the phone with as many smart features on as possible while retaining a good enough battery life. You can have all those features on and still have a good battery life, is it worth to disable most of the features of our phones just to gain a little extra battery life? I mean, if you really want to make your phone's battery last weeks just turn it off ^^'. Now seriously, I have auto-sync for all the features I need, I have location services apps all running fine, I can pair my Bluetooth devices just by turning them on, I can simply open the gps app in my car and it will get signal without me doing anything else, I can take a picture and immediately send to someone over the internet without having to do anything else, and many many other features I have that I wouldn't if I just turned everything off to get a little extra battery. Not worth for me, I want a smartphone, I want to take it out of my pocket and having it ready to use.
Follow this guide and check the difference in battery life it makes, than tell me if it is not worth. Well, for certain profiles I can see it not being worth, I mean if you use your phone primarily for gaming or if you don't use almost any of the feature a smartphone has, I can totally see the point in having them turned off.
Edit: Forgot to talk about the limited data plans. I have a very limited data plan, 500MB per month but communication apps don't have a limit on my data plan (facebook, skype, what's app, snapshot, etc). I never used the 500MB of the mobile data, when wi fi is available I use it and only transfer large files over wifi, so as you can see even 500MB is enough to browse the web and sync my services. If you don't have a data plan or yours not enough for you then you have to choices: 1- Get a data plan suitable for your needs; 2- Disable Mobile Data. Back to the guide, there's people too with limited data plans in their home connections, using wifi, should I tell everyone to have wi fi always turned off because of those people?
If your data plan has limitations, that's something you have to take in mind but has nothing to do with the phone itself. If I have no money for a vehicle, I have to travel by foot, should I tell everyone to travel by foot? I hope you get my point and sorry for the wall of text.
rbmaster said:
It's not a duplicate thread. In your guide the goal is to have the best battery life possible but for that it compromises a lot of the features that makes the phone smart, it compromises convenience of use for every 0.01% of battery life possible.
I read it and it's a well written guide but with a very different goal. The goal of this guide is to have a good battery life while having most of the smart features available.
Click to expand...
Click to collapse
Dude, not trying to argue with you here, I'm just saying that everything you've mentioned here is also in my guide. People can pick and choose what they want from it.
rbmaster said:
I have auto-sync for all the features I need, I have location services apps all running fine, I can pair my Bluetooth devices just by turning them on, I can simply open the gps app in my car and it will get signal without me doing anything else, I can take a picture and immediately send to someone over the internet without having to do anything else, and many many other features I have that I wouldn't if I just turned everything off to get a little extra battery. Not worth for me, I want a smartphone, I want to take it out of my pocket and having it ready to use.
Click to expand...
Click to collapse
I can do everything you just said on my phone. I haven't sacrificed any smart capabilities, but I also get 3 days usage from my phone In fact, with tasker, I don't have to do any switching on or off. It does it all for me. That's the point of it, and why it is such a good battery saver.
Sent from my Moto G XT1068 using Tapatalk
Duck86 said:
Dude, not trying to argue with you here, I'm just saying that everything you've mentioned here is also in my guide. People can pick and choose what they want from it.
I can do everything you just said on my phone. I haven't sacrificed any smart capabilities, but I also get 3 days usage from my phone In fact, with tasker, I don't have to do any switching on or off. It does it all for me. That's the point of it, and why it is such a good battery saver.
Sent from my Moto G XT1068 using Tapatalk
Click to expand...
Click to collapse
Following your guide you get: No no bluetooth, no network connection during the night, no location services, no auto-brightness, no possibility to download files over wifi while the screen is off, etc. Of course people could read it and chose only what they want, but then they wouldn't be following your guide.
What I suggest in this guide is a very different approach from yours. In this guide, the goal is to have the most features on as possible, while having a good battery life. The goal of your guide is to have the maximum battery life while the phone is on while maintaining basic functionality.
Different approach, different goal, I don't see how this can be seen as a duplicate.
Edit: Oh, and to follow your guide there's the need to have root access.
rbmaster said:
Following your guide you get: No no bluetooth, no network connection during the night, no location services, no auto-brightness, no possibility to download files over wifi while the screen is off, etc. Of course people could read it and chose only what they want, but then they wouldn't be following your guide.
What I suggest in this guide is a very different approach from yours. In this guide, the goal is to have the most features on as possible, while having a good battery life. The goal of your guide is to have the maximum battery life while the phone is on while maintaining basic functionality.
Different approach, different goal, I don't see how this can be seen as a duplicate.
Edit: Oh, and to follow your guide there's the need to have root access.
Click to expand...
Click to collapse
Why do you need network services when you are asleep? Bluetooth is available whenever you want, just use tasker to automate it. Similarly, use tasker to automate location services. I clearly say in the guide that if you *need* auto brightness you can adjust it to your own specification using gravitybox. Its perfectly easy to download files when the screen is off, just change the the threshold in tasker. Admittedly, I didn't mention that, but If that's the only problem, I can add that into the tutorial
You don't need root access for all of the tutorial. I have a whole section devoted to basic ROM settings, which has everything you have in your op. Plus tasker and greenify sections that don't necessarily need root for everything.
But whatever, you know best.
Sent from my Moto G XT1068 using Tapatalk
Duck86 said:
Why do you need network services when you are asleep? Bluetooth is available whenever you want, just use tasker to automate it. Similarly, use tasker to automate location services. I clearly say in the guide that if you *need* auto brightness you can adjust it to your own specification using gravitybox. Its perfectly easy to download files when the screen is off, just change the the threshold in tasker. Admittedly, I didn't mention that, but If that's the only problem, I can add that into the tutorial
You don't need root access for all of the tutorial. I have a whole section devoted to basic ROM settings, which has everything you have in your op. Plus tasker and greenify sections that don't necessarily need root for everything.
But whatever, you know best.
Sent from my Moto G XT1068 using Tapatalk
Click to expand...
Click to collapse
I don't understand what's your point. You go into another thread (this thread) and start to make comparisons between your guide and this guide. They are two different guides and in no point I refer to your guide. This is just another guide, and the goal of the guide is clearly explained in the OP. This is not a contest to see who's guide is better as far as I know.
And I'll repeat one more time, to make more advanced automation tasks using tasker (like enabling and disabling network access) you need root access, specially in Android Lollipop. You also need root access for greenify and similar apps. This guide is for everyone, no root required for anything. People see it, and follow if they like. After following they check how their phone is performing. If it's performing to their expectations great, if not they will probably check other guides until they find something they like..
About Bluetooth, I suggest you to read first on how Bluetooth 4.0 works first before arguing about it. You can start here, in the good old Wikipedia: http://en.wikipedia.org/wiki/Bluetooth_low_energy
rbmaster said:
For Greenify to work as intended you need to have root access on your device. For those with root access Greenify can be a great way to freeze apps you really need but are programmed to be always running in the background. Without root access Greenify to work automatically consumes a lot of battery because it needs to turn on your screen while the device is asleep.
I decided to not talk about root methods to keep this guide accessible to everyone
Click to expand...
Click to collapse
I don't have rooted phone and I'm using manually Greenify & Greenify shortcut hibernate & lock to shut down apps, which sometimes automatically starts. As I don't play games, listen music and chat, phone is quite usable with this setup. With KitKat (I think most is the same with LolliPop) I made a list of the disabled apps:
android live wallpapers
aonlt
assist
audio effects
basic daydreams
bowsermessage
bubbles
chrome (using boat browser)
com.android.provider.partber
com.android.wallpaper.holospirit
com.motorola.mesh
com.motorola.multisimsettings
com.motorola.interfaceperm
com.qualcomm.qcom_qmi
configupdates
cqatest
devicemanagement
email (using profimail)
echange services
face unlock
fm radio
gallery (using quickpick)
gmail
google korean keyboard
google launcher config (using apex launcher)
google one time init
google partner setup
google play movies
google play kiosk
google play music
google play games
google play books
google hindy input
google keyboard (using multiling)
google voice
google pinyin input
goole ++
hangouts
help
hp print service plugin
html viewer
iwnn ime
iwnn keyboard
magic smoke wallpapers
market feedback agent
motorola alert
motorola boot services
motorola checkin
motorola contextual services
motorola migrate
motorola notification
motorola one time init
music visulaization wallpapers
oma client provisioning
phasebeam
photo screensavers
picasa uploader
cloudprinting
preset
print spooler
setupwizard
setup
talkback
trusted devices
youtube
I tried this guide and I can confirm that there's is a noticeable increase in battery life. My phone isn't rooted, and all my attempts to keep battery consumption as low as possible in the past resulted in having a phone by far less "smart" than it is now. Many thanks rbmaster .
I really couldn't follow that other guide there were too many applications it was too lengthy, this one really seems to the best, disabled everything I was told + going to download the app tasker.

Categories

Resources