[Casper] Battery Capacity?

Miles Leacy miles.leacy at themacadmin.com
Fri Feb 27 07:21:39 PST 2009


This is completely conjecture, and maybe one of the JAMF guys can chime in
on this, but I believe that "battery capacity" is the difference between the
Apple-advertised full-charge mAh and the current actual full-charge mAh of
the battery, expressed as a percentage.

I think the feature request would be to add fields for the following to the
JSS database:

Charge remaining (mAh)
Charging [probably not necessary]
Full charge capacity (mAh)
Cycle count
Condition

With these data in the database and selectable in an advanced search on
inventory, this would solve the need, no?

Battery capacity is already a smart group criterion, so you could have a
smart group that will notify you when a battery drops below a capacity
threshold you're comfortable with.

----------
Miles A. Leacy IV

 Certified System Administrator
 Certified Trainer
Certified Casper Administrator
----------
voice: 1-347-277-7321
miles.leacy at themacadmin.com
www.themacadmin.com




2009/2/27 Thomas Larkin <tlarki at kckps.org>

>  I think this should be a feature request for recon.  In terminal if you
> run jamf help recon you get a list of all the recon switches you can run on
> a machine.  There are switches to skip applications and fonts and unix apps
> and what not, but there is no switch to run hardware report only.  If you
> look at a machine in inventory in the JSS it does in fact list battery
> capacity.
>
>
>  So, I say make it a feature request to use Recon to run such custom
> reports and then say output it to an HTML file or XML, which it looks like
> you can already output such things to file but when I played with the
> command a few minutes ago i was unable to get it to save to my desktop.  My
> syntax was probably wrong but it did not kick off any errors.
>
>  As for Dustin's suggestion it will work using system_profiler binary from
> the command line.  I can never ever get awk to work right for me so I would
> either grep it or use sed.  I think I was helping an Apple SE write a script
> for battery capacity last year for a smaller school but I can't recall the
> outcome of it.
>
>
>
>
> ___________________________
> Thomas Larkin
> TIS Department
> KCKPS USD500
> tlarki at kckps.org
> blackberry:  913-449-7589
> office:  913-627-0351
>
>
>
>
>
> >>> "Dorey, Dustin" <Dustin.Dorey at district196.org> 02/27/09 7:56 AM >>>
>
>  I started working on a script to grab that information but haven’t had
> time to get back to it.   If you’re really interested as far as I got was
> that you can access system profiler via the command line and you can grep
> and awk for  that information pretty easily that way.   I was just trying to
> work out how I was going to output that data.  Might at least give you a
> place to start.
>
>  -Dusty-
>
>
>
>  Dustin  Dorey
>
>  Technology Support Cluster Specialist
>
>  ISD 196 Apple Valley, Eagan, Rosemount
>
>  dustin.dorey at district196.org
>
>  952|423|7971
>
>
>
>
>
>
>
>  From:
>
> casper-bounces at list.jamfsoftware.com [mailto:
> casper-bounces at list.jamfsoftware.com] *On Behalf Of *Brad Rellinger
> *Sent:* Friday, February 27, 2009 6:37 AM
> *To:* Jamf List Serve
> *Subject:* [Casper] Battery Capacity?
>
>
>
> Hello,
>
>
>
> 2 Questions:
>
>
>
> 1) In JSS, for each computer, there is a entry called "
>
> Battery Capacity" -- what exactly is this?  It shows any where from 98% -
> 109%
>
>
>
>
>  2) Is there anywhere that it collects "Cycle count" for the installed
> battery?
>
>
>
>
>  Thanks
>
>
>
>
>  ----------
>
>  Brad Rell div>
>
>  Technology Specialist
>
>  Anthony Wayne Schools K-12
>
>  aw_aca_bre at nwoca.org
>
>
>
> _______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090227/6ecd5775/attachment.html 


More information about the Casper mailing list