File: TODO

package info (click to toggle)
tp-smapi 0.37-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 220 kB
  • ctags: 303
  • sloc: ansic: 1,990; makefile: 213; sh: 67
file content (17 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Ideas for improvement
---------------------
(The best way to get these done is to send a patch.)

Don't create /sys files for unsupported functions, and don't access those
functions on suspend+resume (requires probing on module load or a huge 
white/blacklist).

Make inhibit_charge_minutes return the time left, not the time originally
set (as returned by the SMAPI BIOS). Requires remembering when 
inhibit_charge_minutes was set and comparing to current time.

Save and and restore inhibit_charge_minutes across suspend-to-disk, as done
for charge thresholds (requires the above time calculations too).

Use the new Linux battery model introduced in kernel 2.6.23 (see the kernel's
Documentation/power_supply_class.txt).