DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th July 2019
jonsec jonsec is offline
Fdisk Soldier
 
Join Date: Jul 2019
Posts: 71
Smile [apm] 0% remaining unknown life estimate

hi
this is first my post in daemonforums.

i use a notebook and `apm` command not show Battery state.

output of command:
Code:
Battery state: CRITICAL, 0% remaining, unknown life estimate.
A/C adapter state: not connected
Performance adjustment mode: manual (1333 MHz)
how i can fix this problem in my notebook?
Reply With Quote
  #2   (View Single Post)  
Old 20th July 2019
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default

Welcome,

Have you checked the manual ? :
Code:
 man apm
Are you using the -l option ?
Maybe try the -m option
Quote:
-l Display the estimated battery lifetime (in percent)
-m Display the estimated battery lifetime (in minutes).
Try, if you have not all ready:
Code:
$ apm -m
I don't have a laptop handy to try it my self, but that is what the manual says.
__________________
My best friends are parrots
Reply With Quote
  #3   (View Single Post)  
Old 20th July 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Hello and welcome!

Try starting apmd(8) with # rcctl enable apmd && rcctl start apmd.
Reply With Quote
  #4   (View Single Post)  
Old 22nd July 2019
hitest's Avatar
hitest hitest is offline
Real Name: George Nielsen
VPN Cryptographer
 
Join Date: Sep 2008
Location: B.C., Canada
Posts: 373
Default

Welcome to our forum, jonsec!
__________________
hitest
Reply With Quote
  #5   (View Single Post)  
Old 22nd July 2019
jmccue jmccue is offline
Real Name: John McCue
Package Pilot
 
Join Date: Aug 2012
Location: here
Posts: 167
Default

Quote:
Originally Posted by jggimi View Post
Hello and welcome!

Try starting apmd(8) with # rcctl enable apmd && rcctl start apmd.
You may want to set some flags, "see man 8 apmd". For example I did
Code:
# rcctl set apmd flags -A -Z 5
before issuing
Code:
# rcctl set apmd flags -A -Z 5
Reply With Quote
  #6   (View Single Post)  
Old 23rd July 2019
jonsec jonsec is offline
Fdisk Soldier
 
Join Date: Jul 2019
Posts: 71
Default

thanks all.

Quote:
Originally Posted by GarryR View Post
Welcome,

Have you checked the manual ? :
Code:
 man apm
Are you using the -l option ?
Maybe try the -m option

Try, if you have not all ready:
Code:
$ apm -m
I don't have a laptop handy to try it my self, but that is what the manual says.
Code:
$ apm -m
output
Code:
unknown
Quote:
Hello and welcome!

Try starting apmd(8) with # rcctl enable apmd && rcctl start apmd.
not effect
Reply With Quote
  #7   (View Single Post)  
Old 23rd July 2019
jonsec jonsec is offline
Fdisk Soldier
 
Join Date: Jul 2019
Posts: 71
Default

Quote:
Originally Posted by hitest View Post
Welcome to our forum, jonsec!
thanks
Reply With Quote
  #8   (View Single Post)  
Old 23rd July 2019
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default

Well, I got out my laptop, and tried 'apm -m' , got the same: unkown, also tried a little using the 'apmd', but need to read more I guess, I usually use 'xbatt' to check mine, but is just shows how much charge it has, or if it is way down. Maybe some one else will know more.
__________________
My best friends are parrots
Reply With Quote
  #9   (View Single Post)  
Old 1st August 2019
jonsec jonsec is offline
Fdisk Soldier
 
Join Date: Jul 2019
Posts: 71
Default

seems no any people has a solution
Reply With Quote
Old 1st August 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I'm sorry. If you post your dmesg(8) it may be possible that someone here will recognize something about your hardware, and may be able to provide more advice if not a solution. Unfortunately, users here comprise a very small subset of the entire OpenBSD community, so it is possible no further help is possible here.

You may have better luck getting an answer by posting an informal problem report to the OpenBSD misc@ mailing list, including your dmesg(8) inline with your question.

If you wish to make a formal bug report, use sendbug(1) to prepare an email for the bugs@ mailing list, as that will automatically attach your dmesg(8) and other reports about your hardware to the message.
Reply With Quote
Old 1st August 2019
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default

I never was able to get it to show a time estimate , only percentage, but for me that is good enough, but any way that is why I never got back either, also just have been to busy to really go over the manual completely.
__________________
My best friends are parrots
Reply With Quote
Reply

Tags
apm

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get the remaining battery percentage (6.2) bsd-keith OpenBSD General 2 1st February 2018 04:47 PM
startx unknown problem philo_neo71 OpenBSD Installation and Upgrading 25 31st December 2017 08:43 PM
The unknown /etc/networks file J65nko Guides 5 22nd January 2010 03:38 AM
root: unknown user roddierod FreeBSD General 9 28th April 2009 10:18 PM
Backup getting too big, how to estimate the size after thinnig out? PatrickBaer FreeBSD General 9 24th July 2008 12:59 PM


All times are GMT. The time now is 04:45 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick