Slashdot Mirror


Mac mini Sans Wires - Batteries Inside the Case

An anonymous reader writes "Running Debian (or Linux generally) on a Mac mini is old news. Silas installed rechargable batteries inside the case, delivering a couple of hours of runtime while retaining the small form factor. Although it runs fine without wires, he had to plug in the monitor to be able to show that it was really up."

49 of 317 comments (clear)

  1. iMac by Mensa+Babe · · Score: 2, Interesting

    Using an iMac would be a better idea, for it has a monitor already included.

    --
    Karma: Positive (probably because of superiour intellect)
  2. Quiet Macs by FunWithHeadlines · · Score: 2, Insightful
    "Although it runs fine without wires, he had to plug in the monitor to be able to show that it was really up."

    Helps that Macs generally (yes, there are exceptions) run whisper quiet. Is the computer on? With a PC, just listen for the fan noise. With a Mac, hmm..can't tell, better look at the screen.

    1. Re:Quiet Macs by freeplatypus · · Score: 2, Interesting

      Wake up Neo. This is a dream. This is a big lie!

      If You think that 20dB from the PC case is a lot then maybe You should think it over.

    2. Re:Quiet Macs by clontzman · · Score: 2, Interesting

      Er... yeah, tell that to the wind tunnels I've had under my desk for the past couple years -- first an MDD, now a G5. Nice, yes, but quiet they ain't.

      PC's engineered to be quiet are quiet. My Dell is nearly silent. Macs engineered to be quiet are also quiet. It has nothing to do with the platform.

    3. Re:Quiet Macs by jrockway · · Score: 2, Interesting

      We have "silent" MPC computers in one of our computer labs. The silence is a copmromise between noise and melting the processor. Once in a while, we install a gaming image onto these machines... but it's pretty much useless because every single machine crashes solid after about ten minutes of gaming.

      Silent != good.

      --
      My other car is first.
    4. Re:Quiet Macs by adam1101 · · Score: 2, Interesting

      > With a PC, just listen for the fan noise.

      One of the biggest reasons that Mac-PC hardware comparisons are doomed to fail is that there is no such thing as "a PC". Most PCs are loud. But there are many PCs that are quieter than desktop Macs. Many PC laptops are heavy, loud, hot and have short battery lives. But there are PC laptops that are lighter, cooler, quieter (fanless 1.1ghz Pentium-M) and have longer battery lives than any Mac 'Book. Mac fans invariably pick the worst PCs to compare with while PC fans pick the best (which are usually more expensive as well). More on topic: I've been running a fanless 1.4ghz Athlon XP-M on my desktop for over a year. I doubt any Mac is more quiet.

    5. Re:Quiet Macs by admactanium · · Score: 2, Informative
      My Powerbook sounds like a jet engine is starting up on my lap when it gets too warm. Granted it's an older titanium model and I haven't used any of the new ones, but it's definitely not silent.

      the older titaniums are definitely louder than the new aluminums. i had a 667 titanium and that thing's fan was on all the time. my 1 Ghz titanium's fan was still pretty active. i have a new 1.67 Al and it's pretty quiet. i have to be doing quite a bit to get the fan running and i've never heard it as loud as my titaniums. the cooler chips seem to be doing the trick.

  3. Yes, but by killa62 · · Score: 5, Insightful

    the monitor would drain the batteries like hell

    1. Re:Yes, but by mbbac · · Score: 3, Insightful

      What is the point in a headless computer that runs from batteries?

      --

      mbbac

    2. Re:Yes, but by WD_40 · · Score: 4, Interesting

      A small-footprint webserver with a built-in UPS.

      --

      "With sufficient thrust, pigs fly just fine." -- RFC 1925

    3. Re:Yes, but by shantanusharma · · Score: 2, Funny

      Well, if these LiPos last long enough, I get a music player supporting all sorts of audio CDs and a 80 gig hard-disk: Mini-Shuffle!

    4. Re:Yes, but by danigiri · · Score: 4, Interesting

      A lot.

      I am working on a research project that deals with Augmented Reality (basically VR goggles that are see through).

      AR deals with guys that hang around somewhere and use the following simultaneously to do some shit:

      - GPS receiver: to know where one is going and have data referenced following position

      - See-thru goggles that display geographical information (coming from an VGA port)

      - PDA or some sort of input/otput device

      - Wireless: for network stuff and group behaviour

      - Database: some sort of sane data repository that can be updated

      - Bluetooth: problably to connect all these devices together and not strangle the users with cabling

      Yeah, an small/light non-custom-built machine that can deal with all this easily would be great indeed. Oh, and sane developer tools as well.

      Once proof of concept and prototyping is done, someone else will find the funding for embedded custom development.

    5. Re:Yes, but by jordie · · Score: 2, Informative

      He includes (basic) instructions on how to make such a system work.

  4. Re:And the use would be? by Skynet · · Score: 5, Insightful

    Since when did nerds need a reason to do something nerdy?

    This is Slashdot!

    --
    Execute? [Y/N] _
  5. External Batty pack + VCN by JawzX · · Score: 3, Informative

    VNC is the obvious way to talk to the machine without a monitor connected...

    If an external battery could be housed in a mac mini form factor external case (stacked under/ontop of the mini) I bet battery life could be equivelent or longer than a power-book (no LCD to run). Could provide some interesting low-cost remote monitoring solutions...

    1. Re:External Batty pack + VCN by The+Bod · · Score: 2, Informative

      I can confirm that this will work. I recently set up my Mac Mini so that I can take it with me without having to bring along a keyboard, mouse, or monitor. I just plug in the ethernet cable and power cord and I can control it from my Windows laptop via VNC. The only problem is you are limited to two display resolutions. You might be able to force it into recognizing different resolutions using SwitchResX or having some kind of VGA adapter connected.

  6. Re:And the use would be? by hey! · · Score: 5, Insightful

    And the use would be?

    As a random act of senseless beauty.

    You see, geeks do have poetry in their souls. It's just in a language they don't teach in the English department.

    So -- do what appeals to you. The utility will come later.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  7. Re:And the use would be? by FunWithHeadlines · · Score: 4, Funny
    "What exactly do you do with a Mac mini that you can't get any visual output from"

    Bah! Real programmers don't need screens. Why, in my day we didn't even need keyboards to issue our commands. We merely bellowed at the computer and it whimpered off to do what we wanted. Honestly, the kids these days...

  8. Re:sniff sniff by hey! · · Score: 2, Interesting

    Not quite, cause you'd have to get it up there right before the packets you were interested in hit the network.

    However -- figure out some way to parasitically power it off the wiring going to the flourescent lights, in a way that can be installed in one or two minutes, then you'd really have something.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  9. Thats nothing by Timesprout · · Score: 4, Funny

    wait till you see my gerbil powered mini. I'm having a small problem with it though, it runs just fine in my test harness but the power seems to tail off and then die shortly after I hermetically seal the case.

    --
    Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
    What truth?
    There is no dupe
  10. 4Ah 20V battery and 1:50 runtime = 40W draw? by Anonymous Coward · · Score: 4, Interesting

    The author says he measured 14-20W for the mac mini under load, but his 80W-Hr battery only lasted 1H:50M, implying a 40W+ power draw.

    Am I missing something?

    1. Re:4Ah 20V battery and 1:50 runtime = 40W draw? by enosys · · Score: 3, Interesting
      The author says he measured 14-20W for the mac mini under load, but his 80W-Hr battery only lasted 1H:50M, implying a 40W+ power draw.

      It's not that simple. It's not like the batteries supply 80W-Hr of power at their rated voltage and then shut down. With most types of batteries the voltage drops slowly as they discharge. Batteries also aren't perfect voltage sources. They have internal resistance, which means that if you draw more current the voltage will drop. I suspect the voltage got too low because of these two factors and the Mac Mini crashed or shut down. The batteries might still be able to power a flashlight.

    2. Re:4Ah 20V battery and 1:50 runtime = 40W draw? by stienman · · Score: 2, Informative

      Several things:

      The author likely measured average consumption sans peaks. In other words, the multimeter he used does not respond to short huge current demands. Depending on the meter, in fact, and the switching regulator inside the mini he may have a very bad reading. This kind of measurement is difficult to take accurately without equipment meant to measure this - one which integrates the current consumption over time, including peaks, for instance.

      The cells are rated for 4AH, but there's no guarantee that he charged them to capacity, or that their usable capacity is 4AH.

      There are four cells at 3.7V making a 14.8V battery, multiply times 4AH to find that the pack's maximum charge is actually some 59WH.

      His initial measurements were made with a power supply of 18V, and he is supply under 15V. It is likely that the mini's switching regulator is less efficient at the lower voltage.

      To obtain the maximum energy from a battery you typically must limit consumption. In other words, you can get more energy out of a battery when drawing 100mA than you'll get when drawing 500mA. He is drawing over 1A from these cells (perhaps as much as 2A, with peaks of many Amps), and the efficiency of the battery is lower at this discharge rate. You can see this effect by taking a laptop with two batteries - use them one at a time and they'll last for 2x minutes, where x is the amount of time you would get from one. Use them simultaneously and you should get more than 2x (should, because some manufacturers still consume from only one available battery even when two are available).

      There are many other factors affecting this, such as keyboard power consumption (100mA, or 1/2 watt), heat, and other efficiency variations.

      -Adam

  11. Huge new product line! by dave_mcmillen · · Score: 5, Funny

    Hey, this could be the start of something big! What if he were to also install a portable screen? Maybe it could, I dunno, fold down into the top of the machine, or something. Then you could carry the computer around and do stuff with it, wherever you went, while resting it on your knee. A sort of "knee-top" compiter, though maybe there's a better name someone can think of . . .

    1. Re:Huge new product line! by nine-times · · Score: 5, Funny

      Bah... and what are you going to do for input? You can install a screen, but then you'd still have to carry around a keyboard and mouse. What, you're going to attach a keyboard and mouse to this whole setup? It's patently absurd.

  12. Darwin award soon by ballpoint · · Score: 5, Informative

    Exactly how is the LiPo battery charged ?

    Without a proper charger, combining the energy density of a 80Wh battery with highly reactive Lithium is a recipe for disaster.

    http://www.rcgroups.com/forums/showthread.php?t=20 9187

    --
    Flourescent (adj): smelling like ground wheat.
    1. Re:Darwin award soon by ballpoint · · Score: 3, Informative

      A simple power supply with a current limiting knob isn't safe. Overcharge a LiPo and you'll set it on fire in a rather spectacular and difficult to extinguish way.

      A charger that is specifically designed for LiPo charging is a MUST.

      --
      Flourescent (adj): smelling like ground wheat.
    2. Re:Darwin award soon by brontus3927 · · Score: 2, Insightful
      I admit not knowing much about Lithium-Ion Polymer batteries. If this is the case, you might want to bring it to the attention of the author. The story was submited as an AC, but there's an email address on the website, spamproofed:
      silasb_at_earthlink.net

      Unless you enjoy knowing that people have caught on fire from their own ignorance, it would be a good idea to write an email explaining the problem and why.

    3. Re:Darwin award soon by brontus3927 · · Score: 2, Funny
      This is slashdot, we live to laugh at people catching themselves on fire because of thier own stupidity... just someone hurry and set up a camera, so we have pictures of it...

      And then post the story to slashdot with a title like "MacMini's explode when plugged in"

  13. 12W by IceFox · · Score: 4, Informative

    Wow, at only 12W for the entire system? It is pretty hard to get a x86 box that low for that
    cheap.

    -Benjamin Meyer

    --
    Do you changes clothes while making the "chee-chee-cha-cha-choh" transformation sound?
  14. Re:And the use would be? by Cecil · · Score: 4, Funny

    It's a portable wireless hard drive for my laptop. Duh.

  15. Re:Sans? by chiark · · Score: 2, Funny

    I (am || can speak) French, you inconsiderate clod!

  16. Re:And the use would be? by jellomizer · · Score: 2, Insightful

    2 hours isn't to bad. Think of it as an imbedded UPS. for your system.
    Preventing data loss on an accedental power outage.

    Secondly if this job is done right it could help improve the life of the computer, giving the system a reliable source of power helps keep the equiptment from those little surges and dips.

    Portability. 2 Hours should be enough to get you to your location without bringing the system down. So when you get to the office and quitly plug in the system to the projector bingo your keynote presintation is ready on the first page.

    Convience. You have to compile your project and finish it at home. While you are driving home the code is compiling. When you get there and put power back on it is ready to test.

    The Mac Mini is less of a PC and more like a Portible Laptop Computer without the extras,

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  17. Article Text by riffzifnab · · Score: 5, Informative

    Mac Mini Surgery

    I had an itch to scratch so here it is...

    Earlier this week I read an article on the Debian Weekly News, about a Debian box running on 3 Watts, and it reminded me of a project that I was asked to put on the shelf some time ago. The gist of the article linked to by the DWN was that Alex Perry got to wondering how much power his Linksys switch was sucking down whilst running 24/7, and found that his Manga, an ARM based router box, not only consumed less power but was able to run full blown Debian to boot. His point was "If I am going to pay to have a switch run 24/7, I might as well have the switch be a useful server as well." Following his article the PepLink community promptly got X11 working on the Manga and Alex's website was updated with the screen shots, which I might add are quite amusing.

    While I do sympathize with the original thrust of the article, I must say that the Manga's ARM is a rather diminutive processor for a desktop machine these days. So my question is why would you run a Manga as a desktop to get down to the 3 Watt mark when for just a few more Watts you can run a box with a G4 processor? Yes, I am talking about that little machine that all of my geek friends (me included) seem to be drooling over as of late. The Mac Mini!

    Several months ago I was in need of finding a small but powerful computer that could be run for a long period of time on batteries and not be a burden to carry. I was looking at several embedded options from places like kontron and mini-box, when I saw an article on the Mac Mini. Looking at the limited specs for the Mac Mini on Apple's website I began to suspect that if I removed the cdrom drive I would be able to fit a "lithium-ion polymer" battery pack inside the vacated space. I say that I suspected this because Apple is lousy about posting specs about internals and stuff that your Grandparents wouldn't normally ask about. So I ran down to the local Apple store with my trusty calipers and had one of their technicians go into the back and measure the dimensions of the cdrom drive for me. The numbers that he gave me made my day, the batteries would fit! Now about power specs. Apple of course did not have the DC power specs online, and nobody I talked to at the Apple store or on the support line could get them for me. In an act of desperation I resorted to sending email to combinations of addresses like steve_at_apple.com sjobs_at_apple.com, steve.jobs_at_apple.com, etc asking for the specs. Funny enough I got a reply (No, not from Steve Jobs) from an Engineer who was quite helpful. It looked like the Mac could do it, so I decided to get one and hack on it. The Mac was dirt cheap compared to the embedded systems so it was a very limited risk approach to proceeding on the project.

    I ordered the Mac, a 4GB Hitachi Microdrive, and a laptop-IDE to CF adapter. I also talked to Mike (Dr. Zhang) at SKC PowerTech, Inc, and he was kind enough to send me some batteries for evaluation. The batteries were a new design and were not yet in production, so there was a bit of a lead time on those, but at the end of two days I had the rest of the necessities at hand. First things first, I measured the out of the box power draw of the Mac Mini, which turned out to be only 12 Watts! This was better than the specs I was given. I then proceeded to remove the hard disk and replace it with the Microdrive-CF adapter setup. Then I got me a Debian (Sarge) disk *GRIN*. This was the first time I had touched a Mac, and I was pleased to find that the Debian install on the Mac was smooth and painless. After getting the system up and running, I did some stress testing on it. The testing involved running simultaneous FFT routines (like 30 of them) on 80MB data files. The system was so heavily loaded that it took about 15 minutes to log into the machine from another terminal, and another 15 minutes to get to the bash prompt. During this utter thrashing of the system the highest the power usage spiked to was 20 Watts, but it stayed around 14

  18. Re:External Batty pack + VNC by jamie · · Score: 3, Interesting
    Macs are sometimes a little too smart for VNC -- if they do not detect a monitor connected, they do not create a console display and the VNC server will fail because it does not have a display

    Old Macs, maybe. I had to plug in a display dongle to a Mac IIci server back around 1995. But the Mac mini doesn't need one. I have a mini in my basement, and it works fine over VNC with nothing plugged into its video port.

  19. Re:Sans? by Anonymous Coward · · Score: 2, Funny

    Illiterate clod.

  20. Re:And the use would be? by YomikoReadman · · Score: 4, Funny

    When I saw this, it reminded me of a very old joke I saw once.. and compelled me to post it here.

    Top 12 Things A Klingon Programmer Would Say

    12. Specifications are for the weak and timid!

    11. This machine is a piece of GAGH! I need dual processors if I am to do battle with this code!

    10. You cannot really appreciate Dilbert unless you've read it in the original Klingon.

    9. Indentation?! -- I will show you how to indent when I indent your skull!

    8. What is this talk of 'release'? Klingons do not make software 'releases'. Our software 'escapes' leaving a bloody trail of designers and quality assurance people in its wake.

    7. Klingon function calls do not have 'parameters' -- they have 'arguments' -- and they ALWAYS WIN THEM.

    6. Debugging? Klingons do not debug. Our software does not coddle the weak.

    5. I have challenged the entire quality assurance team to a Bat-Leth contest. They will not concern us again.

    4. A TRUE Klingon Warrior does not comment his code!

    3. By filing this SCR you have challenged the honor of my family. Prepare to die!

    2. You question the worthiness of my code? I should kill you where you stand!

    1. Our users will know fear and cower before our software. Ship it! Ship it, and let them flee like the dogs they are!

    Seeing as how old school programmers think like klingon programmers, I believe that it can be reasonably assumed that all old programmers are klingon.

    --
    I have no regrets, this is the only path.
    My whole life has been "UNLIMITED BLADE WORKS"
  21. I'm holding out by WormholeFiend · · Score: 3, Funny

    for an Apple computer that runs on human blood!

    Oh wait...

  22. It's also by chadseld · · Score: 2, Insightful

    sans optical drive.

  23. Come on now....give the guy a break by gadgetbox · · Score: 5, Insightful

    Seriously, give the guy a break. This mod probably wasn't as easy as it looks. Yes, it does have a very limited practical application due to the fact that you need a powered monitor (network access aside), but....in the long run, things like this can serve up some very innovative creations. Perhaps someone else will see this, and take it a step further, and eventually some ingenious application for a battery powered Mac Mini will appear. I say bravo, good job, and keep on tinkering.

  24. Server batteries by scrotch · · Score: 2, Interesting


    I've often wondered why there aren't servers with batteries built in for a few minutes of power after the UPS goes down.

    Apple could get especially good results from doing this because of their hardware-software integration. Imagine an xserve with ten minutes of battery power built in. Can't you see the interface where you have the computer run a script that emails you after it's been on battery power for two minutes? Imagine hooks for when battery power starts to be used, and when a clean, painless shutdown begins, or when power is restored before the battery runs out.

    This would be of great value to me anyway. I know some UPS software offers this (though I'm not sure what the state of Mac-compatibility is), but Apple could surely do a better, more thorough job.

    1. Re:Server batteries by drinkypoo · · Score: 3, Insightful

      I've often wondered why there aren't servers with batteries built in for a few minutes of power after the UPS goes down.

      spend less time wondering and more time doing research. Some of IBM's AS/400 systems (whatever-series, now) have a built-in UPS; they are sold as a complete computing solution for businesses. Just plug it in, and compute.

      Or, you know, you could try a google search, if that's not too much trouble.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  25. Re:Sans? by Reignking · · Score: 2, Funny

    What's wrong with sans? It's a perfectly cromulent word.

    --
    One man's Funny is another man's Offtopic.
  26. Re:And the use would be? by irc.goatse.cx+troll · · Score: 2, Interesting

    That, and you could always use both. UPS's are nice, but once they fail, wouldn't you like another few hours? (Especially on a cheap UPS where plugging a monitor into it will drain the battery in a few mins)

    --
    Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
  27. Schrodinger's Mac by mathmatt · · Score: 5, Funny

    "Although it runs fine without wires, he had to plug in the monitor to be able to show that it was really up."

    Actually, the mac is both dead and alive until the monitor is plugged in - at which time the mac's probablility wave instantaneously settles in at its definite and final value...that is until the batteries run out, then it's a $500 doorstop.

  28. Moving it to another room by Space+Coyote · · Score: 3, Interesting

    One of the things I tend to use the battery in my laptop for most is to keep the thing on when I move from one room to the other in the house and then plug in again. Seems like a sensible thing someone would want to do with a mini, to go from a desk in a study over to the bedroom or to the stereo to play some music for a while without having to shut down and restart.

    --
    ___
    Cogito cogito, ergo cogito sum.
  29. Re:And the use would be? by Pollardito · · Score: 2, Informative

    you forgot to add "that's slower than an external firewire enclosure"

  30. Re:VNC + Mac OS X by mpaque · · Score: 2, Informative

    Try with Mac OS X 10.3 or later. If there are no display devices on-line the window server will create a virtual framebuffer.

    In Tiger, Mac OS X 10.4, fast user switching gets a related feature. When a user session is switched off-screen, if a screen watching program such as OSXvnc-server is running, the off-screen session will get a virtual framebuffer so that it can be remote-operated while another user session or a login window is on the hardware console.

    Try running OSXvnc.app, for example, and switching users. A remote VNC viewer will be able to connect to the session switched off-screen, so you can continue working from a remote location. When you set this up, make sure you set up a password for access and take the usual security precautions for a remote-controlled system.

  31. Note From Autor: by Fuzzy_The_Quantum_Du · · Score: 2
    Wow, that was fast. I only posted the page on Sunday evening...

    To address questions asked here on Slashdot. The main purpose of this project was to build a wearable debian box. We had a 2 square inch VGA LCD heads up display that we were using. Also we had toyed around with Festival to read output to the user. The application did not require any user input, so no keyboard was nessasary. If someone wanted user input one could use bluetooth and a Linux PDA to run ssh or VNC. Also I have seen some IR remote controls that have a full keyboard (Do a Google search on CarPC's and remote controls), so user input is not out of the question.


    Also several people were talking negativly about the battery life. My run time test was conducted under heavy load so the Mac Mini was pulling around 14-20W at the time. The device I used for measuring the power was a Watts Up Pro which was specificly designed for measuring the power draw on consumer electronics, so the readings are accurate. Bear in mind that these batteries are preproduction prototypes that were sent to me for evaluation, and SKC Films informed me after I recieved them that they would not perform optimally do to a mistake in that batch. They also offered to make me another batch, which I declined as my application only needed about 45min runtime and the ones I already had would do fine for proof of concept. The point here is that with further work the battery life can be inproved. Simply using CPUFreq in the Linux Kernel will help strech out the battery life a good deal. To address concerns someone brought up about charging the Li-ion batteries, A power supply with a current limiting knob _is_ a safe method of charging the batteries. The chargers that are designed for charging Li-ion batteries, say for instance in cell phones, do just that. I have recharged my battery pack just fine using a Topward power supply set to 20VDC and limited the current to about 50mA and the batteries didn't even get warm let alone explode in my face ;0).


    Granted my application was very specific, but this could be used for lots of things. Slashdot has already mentioned quite a few. How about this one:
    A portable compute brick. In a lab setting one might need to take a part of a Mosics cluster from one lab bench to another to collect and process data. Having a built in UPS on the Mac Mini with a Wifi network interface allows you to move the compute node physicly without having to first remove the node from the cluster and migrate all of it's processes off the node. Please note that Wireless comunications with the Mac Mini need to use a USB or Firewire Wifi card because the Mac airport card uses the broadcom chipset, which Linux users have learned to hate with a passion. Before someone mentions NDISWrappers I would like to state the obvious Mac is non-X86 and the binary drivers that are used with NDIS are compiled for X86.



    "Why do this?" was also asked. My response...
    I am a Geek, and it was fun!

    Cheers,
    Silas Bennett

    P.S. My uname should read Fuzzy_The_Quantum_Duck but Slashdot didn't like the last 2 characters...