Due to changes in kernel 4.18 and up, on some notebooks (Thinkpad/Ideapad/Asus) the status of the battery is reported as unknown by sys-power/upower when fully charged. Fix is in upower git: https://gitlab.freedesktop.org/upower/upower/commit/a074631c0b1748c8a791c4f0dad99da75805a328 I can confirm this fixes the issue on my ideapad.
Created attachment 555854 [details] user patch against upower-0.99.8-r1 For convenience, attaching a user patch to put in /etc/portage/patches/sys-power/upower-0.99.8-r1 for affected people to get their battery back.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef11ee8b619f1317a8063d404cba5ee4edbd16d1 commit ef11ee8b619f1317a8063d404cba5ee4edbd16d1 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2019-01-20 13:36:50 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2019-01-20 13:40:34 +0000 sys-power/upower: Consider pending-charge when calculating Thanks-to: Maik Closes: https://bugs.gentoo.org/671570 Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org> .../files/upower-0.99.9-pending-charge1.patch | 33 ++++++++ .../files/upower-0.99.9-pending-charge2.patch | 48 +++++++++++ sys-power/upower/upower-0.99.9-r1.ebuild | 98 ++++++++++++++++++++++ 3 files changed, 179 insertions(+)