Hi Pavel, On Mon, 26 Nov 2018 at 05:45, Pavel Machek <[email protected]> wrote: > > On Wed 2018-11-14 17:07:06, Baolin Wang wrote: > > From: Yuanjiang Yu <[email protected]> > > > > Add low voltage alarm support to make sure the battery capacity > > more accurate in lower voltage stage. > > > > Signed-off-by: Yuanjiang Yu <[email protected]> > > Signed-off-by: Baolin Wang <[email protected]> > > Should we also shut down the system when that happens, as battery is > empty? > > Or is there any lower threshold when we should do the shutdown?
We do not shutdown the system when battery is empty in fuel gauge driver, instead we should do that in charger manager service or other upper layers. In fuel gauge driver, we should just supply the accurate battery capacity for upper layer. -- Baolin Wang Best Regards

