Hi, this should make /proc/apm a) display the remaining time until the battery is fully charged and b) when the system is on AC but the battery is not getting charged 0 is displayed as remaining time. Please comment/apply, Soeren -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin