mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
power: bq27541: speed up reporting battery status during resume
Bug: 9005526 Change-Id: Ie1d4451a1872549294fc7443bf91cc66c350da36 Signed-off-by: Hank_Lee <Hank_Lee@asus.com>
This commit is contained in:
parent
9d96cdaae3
commit
7d34741b7e
1 changed files with 1 additions and 1 deletions
|
@ -793,7 +793,7 @@ static int bq27541_suspend(struct i2c_client *client, pm_message_t state)
|
|||
static int bq27541_resume(struct i2c_client *client)
|
||||
{
|
||||
cancel_delayed_work(&bq27541_device->status_poll_work);
|
||||
queue_delayed_work(bq27541_battery_work_queue,&bq27541_device->status_poll_work, 5*HZ);
|
||||
queue_delayed_work(bq27541_battery_work_queue,&bq27541_device->status_poll_work, 0.1*HZ);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue