BATTERY BACKUP on ANDROID ONE



Hello everyone.
I created this thread to collect general consensus on the average battery life offered by the Android one phones. I have seen many people changing batteries, buying new ones because they thought that their battery life was poor only to find that the battery life remained the same. So in this thread, every Android One user can post the battery life of his device.

There are, however, a few things that should be there :
1. The name of Your phone (eg. Karbonn Sparkle V, Micromax Canvas A1 etc)
2. The Android One Generation (1st Gen, sprout4, sprout8 etc)
3. The ROM you're using.
4. The kernel (and the version number) installed.
5. The governor you use, the setting for max and min CPU clock (if it's different from the default values of 1300 and 598)
6. Xposed or any other Mod that you are using (generally these don't have much of an impact on battery life but no problem in including them, right ;) )
7. Your usage conditions. Amount of time spent browsing on 3G, on 2G, amount of time spent gaming, amount of time spent watching videos, wifi usage, screen brightness (auto or custom value) . Also include if you always keep data on or do you switch it on only when needed.
8. The Custom ROM or OS you are using.
9. Lastly, the time your phone lasts on a single full charge. (Duh, this was obvious)

All that's been mentioned above are things that can affect battery life so it's necessary for someone to have knowledge of these to be able to gauge how long the battery should last for his usage pattern. Also feel free to include any other info you feel is necessary.

I hope this reference list turns out to be extremely useful for you people.
Wish you all a long battery life.
Cheers.

Related to : BATTERY BACKUP on ANDROID ONE
Do you use a battery backup?
Android
I remember my old roommate from college had one, and it's the only time I've seen someone use one. He got one when his parents bought him a brand new Sony desktop computer. The power went out maybe...3 times or so whenever I was using my desktop throughout one year of college. I'm debating on whether it's worth it.
Does it help with your energy bill too? Anyone have any experience with these? My primary computer is my desktop now that I'm out of college. My laptop just sits on the coffee table to charge my iPod and PS3 controller. :)
[Q] Android OS and Android System battery usage
Android
Was wondering where everyones battery usage was sitting at for these two services. Mine are both constantly on top and i cant figure out why. Anyone have this same problem or is this the new norm?

How to Calibrate Battery on Android Phones, Increase Battery Life
Android
How to Calibrate Battery on Android Phones, Increase Battery Life

Follow the below steps:-

1. Let the phone battery run out of charge, wait until it turns off because of low battery.

2. Charge the phone fully without turning on your phone.

3. Once it is fully charged, turn it on and leave it untouched for 30 minutes.

4. Again plug in the charger and allow it to charge for another 30 minutes, don’t use it in between.

5. Once the battery is fully charged, unplug it and your battery is now calibrated.

For better battery backup whether we have to start charge the laptop when battery about to drain?
Android

I recently purchased a laptop ,I have get suggestions from so many people that we should start charging laptop when battery is about to drain and the reason I am getting is battery will last for years if i do that. Is it true.?


Using Android Backup Service to backup my SharedPreferences
Android

My intention is to implement a backup service for my application, storing within the cloud configuration properties when changes are made, and retrieving them when the application first starts.

But I'm having some problems: the backup process is not made correctly.

My Android Manifest contains the following:

<application
    ...
    android:label="@string/app_name"
    android:theme="@style/AppTheme" 
    android:allowBackup="true"
    android:backupAgent=".backup.BizkaimoveBackup">
        ...

        <!-- Android Backup -->
        <meta-data 
            android:name="com.google.android.backup.api_key" 
            android:value="--key--" />
        <!-- Android Backup -->

The BackupAgentHelper class contains:

public class BizkaimoveBackup extends BackupAgentHelper {

    /*
     * Atributos
     */
    private static String LOG_TAG = "BizkaimoveBackup";
    private SharedPreferencesBackupHelper spbh;

    /**
     * El nombre del fichero de SharedPreferences: el mismo que hay en
globales.
     */
    private static String PREFS = "bizkaimovePrefs";

    /**
     * Una clave para identificar unequívocamente un conjunto de
datos de backup
     */
    private static final String PREFS_BACKUP_KEY = "myprefs";

    /*
     * Métodos
     */
    @Override
    public void onCreate() {
        spbh = new SharedPreferencesBackupHelper(this, PREFS);
        addHelper(PREFS, spbh);
        Log.d(LOG_TAG, "Añadiendo BackupAgent...");
    }

}

To store changes in the cloud, I do the following:

switchPreferenceIdiomaEs = (SwitchPreference)
findPreference("pref_switch_idioma_es");
    switchPreferenceIdiomaEu = (SwitchPreference)
findPreference("pref_switch_idioma_eu");

    switchPreferenceIdiomaEs.setOnPreferenceChangeListener(new
OnPreferenceChangeListener() {

        @Override
        public boolean onPreferenceChange(Preference preference,
Object newValue) {
            //newValue es boolean aquí
            SharedPreferences sp =
getActivity().getSharedPreferences("bizkaimovePrefs",
Context.MODE_PRIVATE);
            Editor spEditor = sp.edit();
            spEditor.putBoolean("idiomaEsCastellano", (Boolean)
newValue);
            spEditor.putBoolean("idiomaEsEuskera", !((Boolean)
newValue));
            spEditor.commit();
            switchPreferenceIdiomaEu.setChecked(!((Boolean)
newValue));

            BackupManager.dataChanged("com.ingartek.bizkaimove");

            return true;
        }
    });

The XML preferencias.xml file contains the following:

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen 
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" 
    android:key="bizkaimovePrefs"
    android:persistent="true"
    android:id="@+id/listaPrefs">

    <PreferenceCategory
        android:title="@string/config_idioma">

        <!-- Un switch para euskera, otro para castellano -->
        <SwitchPreference 
            android:key="pref_switch_idioma_eu"
            android:title="@string/config_euskera"
            android:switchTextOn="@string/config_euskera"
            android:switchTextOff="@string/config_castellano"/>

        <SwitchPreference 
            android:key="pref_switch_idioma_es"
            android:title="@string/config_castellano"
            android:switchTextOn="@string/config_castellano"
            android:switchTextOff="@string/config_euskera"/>

    </PreferenceCategory>
    ...

And finally, within the onCreate() of the HomeActivity I do the following:

BackupManager bm = new BackupManager(this);
        bm.requestRestore(new RestoreObserver() {

            @Override
            public void restoreStarting(int numPackages) {
                Toast.makeText(getApplicationContext(), "Empezando
recuperación de backup...", Toast.LENGTH_SHORT).show();
                super.restoreStarting(numPackages);
            }

            @Override
            public void restoreFinished(int error) {
                Toast.makeText(getApplicationContext(), "Recuperación
de backup finalizada. Error: " + error, Toast.LENGTH_SHORT).show();
                super.restoreFinished(error);

However, after doing the actions described here http://developer.android.com/guide/topics/data/backup.html#Testing no data is retrieved after uninstalling my app.

I have been able to download and test this https://bitbucket.org/andreaskristensson/android-example-preference-fragment-and-backup-api/downloads but neither it isn't working.

What am I doing incorrectly?

Thanks in advance.


BATTERY BACKUP on ANDROID ONE
Android
Hello everyone.
I created this thread to collect general consensus on the average battery life offered by the Android one phones. I have seen many people changing batteries, buying new ones because they thought that their battery life was poor only to find that the battery life remained the same. So in this thread, every Android One user can post the battery life of his device.

There are, however, a few things that should be there :
1. The name of Your phone (eg. Karbonn Sparkle V, Micromax Canvas A1 etc)
2. The Android One Generation (1st Gen, sprout4, sprout8 etc)
3. The ROM you're using.
4. The kernel (and the version number) installed.
5. The governor you use, the setting for max and min CPU clock (if it's different from the default values of 1300 and 598)
6. Xposed or any other Mod that you are using (generally these don't have much of an impact on battery life but no problem in including them, right ;) )
7. Your usage conditions. Amount of time spent browsing on 3G, on 2G, amount of time spent gaming, amount of time spent watching videos, wifi usage, screen brightness (auto or custom value) . Also include if you always keep data on or do you switch it on only when needed.
8. The Custom ROM or OS you are using.
9. Lastly, the time your phone lasts on a single full charge. (Duh, this was obvious)

All that's been mentioned above are things that can affect battery life so it's necessary for someone to have knowledge of these to be able to gauge how long the battery should last for his usage pattern. Also feel free to include any other info you feel is necessary.

I hope this reference list turns out to be extremely useful for you people.
Wish you all a long battery life.
Cheers.


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .