Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: smartbat hacking
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Jun 29, 2008, at 14:31, Magnus Henoch wrote:
Slightly updated version attached (as patch against my previous
version)
- some sensors now have correct units; "design cap" now
implemented. I
suspect that the design cap should be specified as the max value of
the
"charge" sensor, instead as an independent sensor; will investigate.
Yes, 'design cap' is supposed to be the maximum capacity. The legacy
battery driver sets it to 100 because the code I recycled from the
old driver is rather weird and returns a percentage. The sensor
exists only because when I wrote those drivers the ACPI battery
driver had one too ( no idea if it still does )
I didn't get around to try the new patch yet, the previous one works
fine here ( 1st generation 12 " iBook G4 )
thanks for finishing smartbat :)
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBSGr26MpnzkX8Yg2nAQLJggf7BaAsR+B+b7FBYyxC82eIvdqik8OA6tMf
LgDb6DhUZKqQ2s+5SlRgDUSLDArA8/Bax4Z1QvjfNXpGI79nKgjPs6bRS9qU6dKG
co7ENDHhluU8hay2Zm5Zoum26qZjwUMlbhf36RYxjCIXZM8LrKI0UyN+1ppHSqtz
oWcynW4fWGl3lrOZuyZMoFddu8hcfKk1A9TBjB7yPNZtfAXEVJVo85ntp3DrD8IM
ZcP2hH8ehfZSkx03Hb/mhptHZKs2x3oIyZCNXpcHlbXFZKvsXcnp2QZI/hWngeX5
JENxCaPFfoDZH64nevjcg5dLLQPCxlEXZTR5vvFI9ymnvhFG/WZglQ==
=NIT/
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index