Rechargeable Battery Do’s and Don’ts

Tips and charging suggestions for  Lead acid, nickel-based, NiCd, NiMH, Lithium-ion batteries.

batteryuniversity.com/learn/article/do_and_dont_battery_table

Apple Notebook battery maintenance and energy consumption

Laptop battery health tips:

Nominally, LiIon and LiPo packs should be completely drained, and then recharged without using the machine until fully charged, once every 6 to 8 weeks.  This ensures the best possible longevity for the individual cells of the pack.  Not using the machine after a full drain, until it is full charged, is important.  It is because of how the machine is running from battery constantly; by not running it, the cells are given a smooth, constant recharge current, instead of being interrupted every few minutes as each circuit is engaged for use.

MacBooks:

When you get the “Help! I’m running on emergency reserves!” alert, you have 2 to 5 minutes to save everything and shut down cleanly.  Say you have a 2010 15in MBP. The pack houses two circuits of 1.2V cells. Each circuit is capable of supplying up to 120 watts of current. The MagSafe for that model only supplies 85W max.  Every few minutes, the controller switches the active circuit over so that the cells being topped up become the active source. It’s like a see-saw.  With each swing, each circuit gets a progressively higher level of charge, until both reach maximum.

Expected life-span of any lithium-based battery pack in a modern laptop, provided regular full charge cycling is done, is three years.    Because most users never cycle their battery-pack properly, the actual average life of a LiPo pack is sixteen months.  Machines which are left on mains supply (AC power) adapter  almost permanently end up having the shortest life-span of all.

Also see:

Fast, recommended VNC clients for OS X

Some find the built-in VNC view in Mac OS X to be a bit slow or under-featured.  Here are some other recommended clients, from “best/fastest” to worst.  (A rough generalization based on IRC converstations.)

  1. ARD – Apple Remote Desktop.  If you have this, try it first.  It’s similar to Windows’ Remote Desktop Protocol where it sends Quartz objects instead of window rasters/graphics.  But it’s not free and probably not worth it unless you are an admin or rely on remote controlling a Mac daily.
  2. JollysFastVNC
  3. VNCthing (old, hard to find, Branes recommends as faster than JollysFast)
  4. TigerVNC ?
  5. Chicken of the VNC (works but nothing special) – now just called Chicken

findinfiles3 bash script

#!/bin/bash
echo "$0: Finds where a string is in current dir & subdir files matching *wildcards*.ext . "
echo "Usage: findinfiles3 \"string\" \"*files\" <grep options 1,2,3. ex: -i>"
echo "----------------------------------------------------------------"
if [ "$1" = "" ]
then
  echo "You must supply a string to find."
  exit 1
else
  echo "Finding '$1' in '$2'..."
  echo "-------------------"
  find . -type f -iname "$2" -exec grep $3 $4 $5 --color -l -s "$1" {} \; -exec grep $3 $4 $5 --color -n -s "$1" {} \; -exec echo " " \;

fi


Example run: ~/bin/findinfiles3  “some phrase”   “*”   -i