Merge branches 'pandora-3.2-aufs', 'pandora-3.2-mru', 'pandora-3.2-picks' and 'pandor...
[pandora-kernel.git] / drivers / power / bq27x00_battery.c
index 45a0156..8a18604 100644 (file)
@@ -571,7 +571,8 @@ static void bq27x00_external_power_changed(struct power_supply *psy)
        struct bq27x00_device_info *di = to_bq27x00_device_info(psy);
 
        cancel_delayed_work_sync(&di->work);
-       schedule_delayed_work(&di->work, 0);
+       set_timer_slack(&di->work.timer, 2 * HZ);
+       schedule_delayed_work(&di->work, 2 * HZ);
 }
 
 static int bq27x00_powersupply_init(struct bq27x00_device_info *di)