Expected results... as that "unknown" test case was only added in v0.18.
Now I'm just wondering if its worth it to modify more source with the following options: - check if the % is less than or equal to 100 [from previous post] - get rid of it the unknown part entirely (looks like an addition in 0.18) [from previous post] which I would think would act like 0.17 - compare if remaining_capacity == design_capacity - compare if remaining_capacity > last_full_capacity (which is more or less like #1)
Quote (^thehatsrule^ @ Nov. 10 2007,12:54)
Quote
- I don't know, I was using the version that came with earlier versions of dsl-3.4.x
Would it be possible to test that one again (maybe copy the binary over)? I guess we can only ask andrewb (I think he compiled that one).
I used the gcc with libs compiler from the repository & followed the instructions in the files downloaded from sourceforge (i.e. run './configure' followed by 'make', followed by './torsmo'). I got the floating point exception when I used it running DSL on VirtualBox under Windoze XP, but it worked flawlessley on my laptop (Libretto 100CT). I reported both of these when I submitted the 0.18 version. Nothing was changed so it should be easy enough to recompile is you want to check.
You should try running torsmo from a terminal window to see what errors appear. This will tell you whether it is able to read the battery data (i.e the battery directory is set correctly).
I have just tried adding a swapfile to DSL running on the virtual machine & torsmo 0.18 works OK there - no floating point exceptions. (still waiting for 3.4.6 to download so i can't comment on the swapfile fix Robert has implemented there).
From memory the battery/AC state on the libretto does change automatically, but there can be a lag when plugging/unplugging the mainsandrewb: yes, I have just compiled with the defaults configs as well... thanks for confirming. It was just that Juanito originally hinted that it did not appear in your build, although later it showed the same problem.
original here.