It looks like your battery is failing. Nicola Dell'Uomo <ndellu...@protonmail.com> wrote:
> I've been experiencing odd power management behavior since some days: my > laptop goes to suspend and I didn't know why. > Today I looked at /var/messages and I found this out: > [snip] > Nov 3 15:04:20 puffy apmd: system resumed from sleep > Nov 3 15:04:20 puffy apmd: battery status: high. external power status: not > connected. estimated battery life 60% (294 minutes) > Nov 3 15:04:25 puffy apmd: battery status: high. external power status: not > connected. estimated battery life 100% > Nov 3 15:16:50 puffy apmd: battery status: high. external power status: not > connected. estimated battery life 56% (267 minutes) > Nov 3 15:24:18 puffy apmd: battery status: CRITICAL. external power status: > not connected. estimated battery life 0% > Nov 3 15:24:18 puffy apmd: estimated battery life 0% below configured limit > 10% > Nov 3 15:24:18 puffy apmd: system suspending > Nov 3 15:24:18 puffy apmd: battery status: CRITICAL. external power status: > not connected. estimated battery life 0% > Nov 3 15:24:19 puffy apmd: battery status: high. external power status: not > connected. estimated battery life 100% > Nov 3 15:24:20 puffy /bsd: video0 detached > Nov 3 15:24:20 puffy /bsd: uvideo0 detached > Nov 3 15:24:20 puffy /bsd: video1 detached > Nov 3 15:24:20 puffy /bsd: uvideo1 detached > Nov 3 15:24:20 puffy /bsd: ugen0 detached > Nov 3 15:27:52 puffy syslogd[9001]: start > [snip] > The same happened just now (while I was writing) and I was able to exit from > suspend only by plugging the power cable in, closing the lid, and opening it > again. > Is this the correct thread or do you want me to file a bug via sendbug to > b...@openbsd.org? > I have apmd_flags= "-A -z 10" in my rc.conf.local >