Test Case: Battery charge level handling Categories: Desktop, KDE, Battery Requirements: KDE Installation, a laptop with a battery Depends On: Action: ============================ Start KDE as normal user, check if KPowersave is running (check for the KPowersave icon in the taskbar, or "ps aux | grep KPowersave"). Start on a console: 'lshal -m'. Click with the left mouse button on the KPowersave applet icon in the task bar to open the 'KPowersave Information Dialog' Case 1: discharge the battery (remove the AC plug from the machine) Case 2: charge the battery (add the AC plug to the machine) Observe the dialog ('Battery state'-section) and the applet icon. To check if KPowersave should support the change of the battery charge level search the output of lshal for 'battery.charge_level.current' or 'battery.charge_level.percentag' or other battery events. If there are no events, KPowersave can't monitor the battery charge level (maybe a HAL or kernel problem, please report it.) Hint: To speed up the first test case you should set the brightness level to maximum and you should produce CPU load (e.g. call 'cat /dev/zero > /dev/null') to increase the power consumtion. Expected Results: ============================ Case 1: - The battery progress bar in the info dialog should decrease depending on the battery charge level. Under the assumption that you followed the hint to increase the power consumption also the remaining time, displayed in the battery progress bar, shound decrease. - The applet icon (as also the icon in the 'Battery state'-section of the info dialog) should reduce the green part of the battery, the white part should increase. Case 2: - The battery bar should increase with the time. The remaining time should decrease until the battery is full. Some batteries may never reach 100%, but normally the progress bar should show 100% if the battery is full - The applet icon (the same in the dialog) should have an increasing green and a decreasing white battery part. If the battery is full charged the icon should change from an icon with a battery (and a AC plug) to a AC plug (only).