daliansky / XiaoMi-Pro-Hackintosh

XiaoMi NoteBook Pro Hackintosh
BSD Zero Clause License
2.61k stars 475 forks source link

Battery Life #97

Open qeeqez opened 5 years ago

qeeqez commented 5 years ago

Does anybody here have a long battery life?

Same brightness and usage:

I'm using VoltageShift but I think it does nothing, any suggestions?

stevezhengshiqi commented 5 years ago

@qeeqez Hi, have you tried the CPUFriendDataProvider for battery life in README link?

Mateo1234454545 commented 5 years ago

Can I ask something ? CPUFriendDataProvider with Cpufriend will reduce cpu freq when idle. But voltage is not affected. Isn't voltage the one which we should care about ? I mean , even if cpu runs at 0,8 , battery time will be the same if voltage is not reduced. Am I wrong?

qeeqez commented 5 years ago

@qeeqez Hi, have you tried the CPUFriendDataProvider for battery life in README link?

Yep, 6h but Performance is low, so I'm using Balanced CPUFriendDataProvider.

Maybe it's macOS-specific and power states shouldn't change dynamically here, otherwise, Windows could achieve good battery and high scores in Geekbench at once

We need to know how to stay long on battery and have decent performance on AC.

stevezhengshiqi commented 5 years ago

@Mateo1234454545 I think voltage is been locked by BIOS and can't be modified by system. In Windows, we have to use XTU or some third-party app to unlock it.

Mateo1234454545 commented 5 years ago

Yes, I know. So , my guess is, with voltage locked cpu speed will not affect battery.

FallenChromium commented 5 years ago

I believe voltage can be overwritten in BIOS (actially i did so), and results are not impressive, but good

fladnaG86 commented 5 years ago

hi i managed to undervolt cpu through "voltageshift" getting much lower temperatures and consumption. I have set offset a -150 for cpu -90 for gpu and -150 for cache memory. the battery lasts a lot longer, the performance are much higher. voltageshift.zip I have created two scripts, they must be modified with your login password. The voltageshift folder should be copied into downloads. My xiaomi is the core i5 mx150 with bios 603 and patch for undervolt.