Obbart

Q: ChargeInhibit Assertion in pmset

I'm in trouble with the AC plugs on the train I use to go to work they're intended for charging mobile phones or small devices, so when I plug my mac because the battery is flat after 2min the power is cut off, so i'm trying to inhibit my MBP battery from charging when plugged in. I found that in older versions of OSX the pmset command included the parameter ChargeInhibit, which in Yosemite is not longer implemented.

Tried using this piece of code but does not work..  http://stackoverflow.com/questions/7670158/creating-a-chargeinhibit-assertion-o s-x-10-6-8

Any suggestion?

Thanks

MacBook Pro (15-inch Early 2011), OS X Yosemite (10.10.2)

Posted on Feb 16, 2015 9:30 AM

Close

Q: ChargeInhibit Assertion in pmset

  • All replies
  • Helpful answers

  • by latestrevision,

    latestrevision latestrevision May 12, 2016 1:16 PM in response to Obbart
    Level 1 (4 points)
    May 12, 2016 1:16 PM in response to Obbart

    I have a similar problem and also wonder if there's a software-based solution, but it doesn't look like one exists.  You could, though, just put tape over the middle pin of your power connector.  If you do that, your computer won't be able to identify the charger and will remain powered but not charge its battery from the power source.