home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / HP95_100 / FIXES / BATSET / BATSET.ZIP / BATSET.DOC < prev   
Encoding:
Text File  |  1994-02-14  |  5.0 KB  |  98 lines

  1. BATSET        Set the batterie on HP100LX
  2.  
  3. Weasel Words:
  4.  
  5.   I am not a batterie engineer. HP made it very difficult to change the fast 
  6. charge time. I doubt that was by accident. Please make your own decisions about 
  7. what you think this value should be. I just wanted to change it for me, and 
  8. thought some of my friends on CIS might like to also.
  9.  
  10. Disclaimer:
  11.  
  12.       Every effort has been made to test thoroughly and verify the functions of 
  13. this program.  However, THIS PROGRAM IS PROVIDED "AS-IS" WITHOUT WARRANTY OF ANY 
  14. KIND.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH 
  15. YOU, SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL 
  16. NECESSARY SERVICEING, REPAIR OR CORRECTION. Make backup copies of your important 
  17. files often and use this program at your own risk.
  18.  
  19. Usage:
  20.  
  21.   Since the setting of the battery to Alkaline, Nickel Cadmium and charging 
  22. status are reset by a hard reset, I wanted to be able to set them properly in my 
  23. AUTOEXEC.BAT file. BATSET will do these for you.
  24.  
  25.      BATSET   (  /A  |  /N  |  /C  )
  26.  
  27.   If you specify /A then the 100 will be set for Alkaline batteries and no 
  28. charging. /N for Nickel Cadmium and no charging. /C for Nickel Cadmium and 
  29. charging.
  30.  
  31.   In addition BATSET will allow you to change the 6 hour fast charge timer on 
  32. the 100LX. When the AC adapter is plugged in or charging is specified the 100LX 
  33. will charge the batteries at a rate of 100mA for 6 hours. Then it will continue 
  34. to charge at a rate of 45mA.
  35.  
  36.      BATSET   /T=hh:mm
  37.  
  38.   Minimum value is 1 minute (00:01), Maximum value is 24 hours and 59 minutes.
  39.  
  40.   Using normal Nickel Cadmium AA cells usually rated about .400AH they will be 
  41. properly charged from empty in about 6 hours at 100mA. However if you should be 
  42. using high capacity Nickel Cadmiums, they can have ratings as high as .850AH and 
  43. would be much better served by a longer fast charge, on the order of about 12 
  44. hours.
  45.  
  46.   If you use the parameter to change this fast time, then BATSET will terminate 
  47. and stay resident. That means about 500 bytes of memory will be kept by BATSET, 
  48. and BATSET will chain to the Timer Tick interrupt and do its own counting. It 
  49. will look for the system counter to be reset to 0. This reset will happen when 
  50. the AC adapter is plugged in or it was plugged in but you just specified 
  51. charging. Now BATSET will set the system's charge timer to 1 hour and hold it 
  52. there until BATSET's own timer reaches the specified time. At this time BATSET 
  53. will set the system's charge timer to 6 hours, and the system will notice that 
  54. value and switch to slow charging.
  55.  
  56.   If you have programs which read this system counter (e.g. Mark Scardina's 
  57. BATT100) you should be aware that with BATSET installed you will only ever see 1 
  58. hour in that field as long as fast charging is active. Then for slow charging 
  59. the number will start from 6 hours. An Example: Say you have BATSET set for 10 
  60. hours, and you run BATT100. BATT100 says you are slow charging and the timer 
  61. says 7:40. That means that you have fast charged for 10 hours and slow charged 
  62. for an additional 1 hour and 40 minutes (7:40 - 6:00).
  63.  
  64.   BATSET is not a sophisticated terminate and stay resident program. Once loaded 
  65. it will stay there until you reboot. There is no way to remove it. Also do not 
  66. load it while you have system manager loaded, because when you close the DOS 
  67. application the timer tick interrupt will still point to where BATSET was and 
  68. ... well ... uhhh. Guess it is reset time. So put it in your AUTOEXEC.BAT file 
  69. ahead of system manager command (100).
  70.  
  71.   If you regularly keep your 100 plugged into AC, then you probably should not 
  72. need to increase your charging time. You may want to consider decreasing it. If, 
  73. on the other hand, you run your high capacity Nickel Cadmiums down until you are 
  74. getting a low batterie message then you probably want to increase the time to 
  75. about the capacity of the batterie times 150% divided by the charge current 
  76. hours. For example if you have Radio Shack's High Capacity .850AH, multiply by 
  77. 150% for 1.275, then divide by charge current .100A to get a charge time of 
  78. 12.75 hours. Remember this assumes we start with completely exhaused batterie 
  79. and charge it to 100%. I doubt we would be starting with a completely exhaused 
  80. batterie, but probably pretty low if you getting low batterie messages.
  81.  
  82.   It appears that there are folks who do not like TSRs for any reason.  To 
  83. accomidate such folks I have added 2 new parameters:
  84.  
  85.      BATSET    /R   /E 
  86.  
  87.   The 'R' will reset the system's batterie counter to 0.  So if you run this 
  88. before the 6 hours are up, you will get another 6 hours from that time.  The 'E' 
  89. merely stuffs an escape character into the keyboard buffer so if you run the 'R' 
  90. from APPT you can bypass the PRESS ANY CHARACTER TO CONTINUE message.
  91.  
  92.   I leave the creation of a system macro to run this in five hours and fifty 
  93. five minutes from the time the macro is invoked as an exercise for the user.
  94.  
  95. Freeware by Alex Patterson
  96.  
  97. Enjoy.
  98.