diff options
| author | Evan Wilson <evan@oliodevices.com> | 2015-10-16 23:17:28 -0700 |
|---|---|---|
| committer | mattis fjallstrom <mattis@acm.org> | 2015-11-05 19:16:12 -0800 |
| commit | e9ce880268504a5141c595fb86bbeb60e50aca94 (patch) | |
| tree | 2a5b8d70c01a77c31e31798a9bf28d387291f175 | |
| parent | b291034eef47ffdd9a486dd6b41c0c76c4d33353 (diff) | |
| download | olio-linux-3.10-e9ce880268504a5141c595fb86bbeb60e50aca94.tar.xz olio-linux-3.10-e9ce880268504a5141c595fb86bbeb60e50aca94.zip | |
Decreasing the update time between charging status
Change-Id: I2566186b6493ac11e64047cc42ed795b30927729
| -rw-r--r-- | drivers/power/bq27x00_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index 8c1546b7d37..9a491f027a2 100644 --- a/drivers/power/bq27x00_battery.c +++ b/drivers/power/bq27x00_battery.c @@ -1331,7 +1331,7 @@ static int bq27x00_battery_get_property(struct power_supply *psy, struct bq27x00_device_info *di = to_bq27x00_device_info(psy); mutex_lock(&di->lock); - if (time_is_before_jiffies(di->last_update + 5 * HZ)) { + if (time_is_before_jiffies(di->last_update + HZ)) { cancel_delayed_work_sync(&di->work); bq27x00_battery_poll(&di->work.work); } |