• Posts

  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    Louisianna. USA
  • Interests
    Amateur Radio

KF5YFD's Achievements

  1. This script was originaly for using acpi to get the values but should give you an idea on how to calculate what you need. Requires calc to be installed #!/bin/bash math() { calc -d "$@"|tr -d ~; } cd /proc/acpi/battery/BAT0; max=$(grep 'design capacity:' info|awk '{print $3}') current=$(grep 'remaining capacity:' state|awk '{print $3}') percent=$(math "($current / $max) * 100"); echo $(echo $percent|cut -d. -f1)%
  2. This may be of use to you http://en.wikipedia.org/wiki/Peukert%27s_law
  3. i beleive this is the patch that made it work with the newer kernal image https://github.com/igorpecovnik/lib/commit/c93c3ac25c984010ba5be98f83fab9102340b7f6
  4. Does the older stable version of wheezy have the sata power regulator patch? I am having issues with my device shutting down if i access my drive on the Lamobo-r1_Debian_2.8_wheezy_3.4.107 image. I need the hardware support that the older version gives me along with a working sata drive install script. i dont seem to have the shut down issue on the newer kernal images.