Sponsored Content
Operating Systems BSD Battery Empty -> force shutdown Post 302340004 by ccc on Saturday 1st of August 2009 02:17:50 PM
Old 08-01-2009
Battery Empty -> force shutdown

hi

Howto force shutdown on the notebook with freeBSD before battery is empty?
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

A1000 Battery Question

After searching and finding the link to the A1000 pdf ( http://192.18.99.138/805-7147/805-7147.pdf ) my questions are: 1) I have a battery failure on a A1000. I know that caching is disabled and it reports to see log. After reading the manual I have learned that the battery is a data-cache... (2 Replies)
Discussion started by: finster
2 Replies

2. UNIX for Dummies Questions & Answers

Getting same exit status for empty and non empty file

Hi All, I am checking for a empty input file to do some further action , but I am getting exit status 0 in both the cases , for empty and non empty file both. The value of $? is coming 0 in if part also and else part too. #!/bin/ksh if ]; then echo "data" # exit 0 echo "$?" else... (4 Replies)
Discussion started by: mavesum
4 Replies

3. Linux

Battery always 0%

Im running Ubuntu 9.04 and the battery indicator on my laptop always reads 0% no matter what. Whether im charging or discharging, the pop up says: "Computer is running on battery power Laptop battery discharging (0.0%) Battery discharge time is currently unknown" When plugged in it says... (2 Replies)
Discussion started by: Charbs
2 Replies

4. UNIX for Dummies Questions & Answers

Script to force Oracle database shutdown when shutdown immediate does not work

I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies

5. Programming

c/c++ clock like , battery charging

Hi all , I need to make a program who describes this ( upper ) graphic: http://upload.wikimedia.org/wikipedia/commons/8/82/Sawtooth-td_and_fd.png My idea is to implement a battery charge x: 0 to time T, y : 0 to 1 values. Can you help me ? (1 Reply)
Discussion started by: jerold
1 Replies

6. AIX

TOD battery dead

My TOD battery of IBM 285 is dead Fast question: i have to buy an original battery(there is only one on ebay!) Or i can use a normal lithium battery for pc bios? Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies
UPSCODE2(8)							    NUT Manual							       UPSCODE2(8)

NAME
upscode2 - Driver for UPScode II compatible UPS equipment NOTE
This man page only documents the hardware-specific features of the upscode2 driver. For information about the core driver, see nutupsdrv(8). SUPPORTED HARDWARE
This driver supports UPS equipment which can be controlled via the UPScode II protocol. This is mainly Fiskars, Powerware equipment, but also some (probably OEM'ed) products from Compaq. EXTRA ARGUMENTS
This driver supports the following optional settings in the ups.conf(5): manufacturer=value Autodetection of this parameter is not possible yet (and it probably never will be). Therefore, this user-defined string accepts any name. The default is unknown. input_timeout=value The timeout waiting for a response from the UPS. Some UPS models have shown to be rather slow, resulting in frequent messages about empty responses from the UPS. If you see this, try increasing this value. output_pace=value Delay between characters sent to the UPS. This was added for completeness with the above parameter. It has not shown to be needed yet. baudrate=value The default baudrate is 1200, which is the standard for the UPScode II protocol. full_update_timer=value Number of seconds between collection of normative values. use_crlf Flag to set if commands towards to UPS need to be terminated with CR-LF, and not just CR. use_pre_lf Flag to set if commands towards to UPS need to be introduced with an LF. A Compaq T1500h is known to need this. COMMANDS
The driver supports the following commands for those UPSen that support them. The available commands are autodetected during initialization, so you should check availability with upscmd -l. o test.panel.start - Start UPS self test o test.battery.start - Start battery self test o beeper.enable - Enable UPS beeper o beeper.disable - Disable UPS beeper o shutdown.return - Shut down in 1 second and wait for power to return o shutdown.stayoff - Shut down in 1 seconds o shutdown.reboot - Shut down in 1 seconds and reboot after 1 minute o shutdown.reboot.graceful - Shut down in 20 seconds and reboot after 1 minute NOTES
The Powerware UPS models that this driver has been tested against until now have not returned a value for battery.charge. Therefore, the driver will guestimate a value based on the nominal battery min/max and the current battery voltage. AUTHOR
Havard Lygre <hklygre@online.no>, Niels Baggesen <niels@baggesen.net> SEE ALSO
The core driver: nutupsdrv(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ Network UPS Tools 05/21/2012 UPSCODE2(8)
All times are GMT -4. The time now is 03:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy