[G2 Android Development (D802)] core720:
WHAT IS POWER BATTERY ?

Is an application that has been developed Kisler to improve the battery and in which we can select a number of options available to suit our needs can optimize the duration of battery . The idea of ​​this application has been to combine options that are useful for battery management and in turn be simple to use for everyone .

OPTIONS AND WHAT BRINGS ?

To improve this consumption have a number of options are:

Battery Percentage : This section is intended to determine the percentage of battery from Battery Power shall act performing the operations described below, default is 15 %.

BASIC SETTINGS

Wireless Mode: Selecting this option turns off the wifi if you have it activated before entering in the range of battery action defined in the beginning to Battery Power .

Data Mode : Selecting this option disables the data if activated before entering them in the range of battery action defined in the beginning to Battery Power .

Sync Mode: Selecting this option disables the synchronization should have it checked before entering the battery range of action defined in the beginning to Battery Power .

Bluetooth Mode: Selecting this option disables the bluetooth if you have it activated before entering in the range of battery action defined in the beginning to Battery Power .

mode Location: Selecting this option disables the location should have it checked before entering the battery range of action defined in the beginning to Battery Power .

Silent mode : Selecting this option disables the sound / vibration should have it checked before entering the battery range of action defined in the beginning to Battery Power .

Led Mode: Selecting this option disables the LED notification should have it checked before entering the battery range of action defined in the beginning to Battery Power .

ADVANCED

Mode Range: detects a known and active wifi zone wifi to connect automatically or off when leaving the area. (Discussed in detail below).

CPU Mode: Reduces CPU frequency automatically when entering the range defined in Battery Power Battery .

CPU Maximum Frequency : Defines how often you will use the CPU and the CPU mode , default 540 MHz

OPTIONS SCREEN

Brightness Mode : Reduces brightness automatically when entering the range defined in Battery Power Battery .

Brightness Percentage : Brightness Percentage to be applied in the glow mode , default 0 %.

Dark Mode: Controls the brightness as if it were an automatic but with lower values ​​to making work less and reducing the brightness sensor

Pocket Mode: Turn the screen to remove the phone from his pocket and is optimized to consume less than the native rom

Notification Mode: If a notification arrives for a few seconds to pick up the phone turns on the screen without pressing the (must activate accessibility " settings / accessibility / power battery" )

Notification Time : used in the second mode is defined notification

HOURS SMOOTH

Hours Mode : Turn the hour mode to manage data and wifi connection at a time interval.

Week end mode : Activates the alternate schedule for weekend

Restore Links: Restore connections to turn the screen during the hours so

Disable Sensors: Disables the sensors during the quiet hours

Set time : Set the time and day of the week that will activate the quiet hours

PROFILES

These options are combined with profiles Cyanogenmod . Its operation is as follows:

Battery power gives you the option to choose 2 profiles ( of Cyanogenmod ) for that you must enter the name of the previously created profile in the " Settings / Profiles " on Battery Power (default is "Home" and " street" ) . In each of the profiles you can enter a range of performance Power Battery, for example in the profile " House " 15% if we select the profile " Street " 25% . This is so that the Battery Power switch profiles automatically change its range of action and will know when your battery should act removing the options that you feel is necessary . To enable the use of profiles with Cyanogenmod Power battery is made from the " Profile Mode " option.

If not select any profile or the profile used is not one defined in Power Battery percentage to be used will be the first that we have defined earlier .

DISCLAIMER MODE RANGE

This mode produces no wakelock , battery consumption or anything similar . It is designed to conserve battery power in the event that we get out of range of our wifi preventing the active connection be used and consumed without activating it when we get to a place where there is a known wifi stay.

To do this I have based on location through LAC and Cell ID , or put more colloquially by the position of the antennas.

In the picture above you can see a simple design of antennas and radios. Battery Power antenna detects how you are and if you are in your area or not. To do this the first time I conectéis the wifi zone start checking nearby antennas ( depending on the house may be affected by one or more antennas ) .

Once detected out of the range of action of these antennas ( this may vary ) check the state of wifi is connected and if it will be off. The opposite case is that when entering the range of a registered as a wifi access point antenna, wifi be activated.

In the case we are in the same location, for example our home and want to disable / enable wifi to not have changed position we can do like coming to a new area to choose a new wifi network , since disconnection / automatic connection is made just by changing antenna .

In the event that wifi is turned off before choosing a new wifi network you connect may be due to a crossing of antennas ( due to the change from one to another so quickly disconnection may occur ) and if the problem persists after several attempts the solution may be to move a few steps to avoid this junction or off the range mode temporarily to introduce this new wifi.

Advantages of this: It has no wakelock , maximum energy savings by not using the location network location.

Disadvantages: If you are traveling to a remote area of your home, but that you get that antenna signal , being detected as " known antenna " believes these at home and activate the signal . This drawback will very much depend on where you live each and the number of antennas that affect the area. As a rule in the city or area where a large number of antennas work better this way .