Len, Attached patch contains new release of battery driver. The battery driver was restructured and it is ready now for future development: for example: porting from procfs to sysfs. Patch is based on 2.6.19-rc6-mm1. It was tested on few laptops on such functionality as: system suspend/resume + removing/inserting and so on. I suggest add patch to mm tree. Vladimir.
Attachment:
battery.patch
Description: battery.patch