libera/#maemo-leste/ Friday, 2025-04-18

Wizzupsicelo: hm, my d4 is not getting to X again, wonder if it is upowre related02:25
Wizzupok, with usb cable in I did get to it02:28
Wizzupinteresting, it says battery: 0%, calibration needed02:29
Wizzupbattery should bw quite full really02:29
Wizzupit turns off again02:29
* Wizzup chmod -x's02:33
Wizzupwow, even with upowerd chmod -x'd it looks like the device reboots\02:34
Wizzupwth02:34
Wizzuphm, maybe it was already started in emergency mode or so02:38
* Wizzup zzz02:38
siceloWizzup: that devise clearly needs the new upower03:46
sicelouh, I think I responded while in deep sleep 🤨 new upower won't help if chmod -x has no effect09:34
Wizzupsicelo: it does have effect11:43
Wizzupsicelo: I typed 'reboot' from emergency mode but that somehow already had upower running11:43
Wizzupafter I rebooted again, the device is stable, alas with no battery icon11:43
Wizzupit was too deep into the night for me to debug yesterday, but I will today11:43
siceloah :-)11:54
sicelobut then, aren't you running the new upower + new leste-config? those should remove the need for `chmod -x`11:58
Wizzupsicelo: that is what I am saying, I upgraded and then it stopped working it seems11:59
Wizzupso that needs debugging11:59
sicelooh, that's weird. if upower reads 0%, what does /sys/class/power_supply say?12:02
Wizzupcouldn't check at the time, device got rebooted then12:02
Wizzupwhat readout do you want from /sys/class/power_supply/battery12:03
sicelouevent is better because it shows everything in one go. otherwise at least 'capacity'12:04
Wizzuphttps://bpa.st/HGDQ12:04
WizzupIt just seemed to think the battery wasn't calibrated and that was enough for it to restart it seems12:05
WizzupI wonder if upower starts before droid4-powermanagement or whatever init script restores the battery state12:05
Wizzupbut still, even if it is not calibrated, it shouldn't cause device reboots :(12:06
sicelostatus-area-applet-battery, which thinks the battery isn't calibrated doesn't do anything about powering off12:06
Wizzupright12:07
siceloalso, the new leste-config tells upower to not poweroff, so even if that init script never restored the capacity, upower would not power off the device12:07
sicelomaybe confirm what's in /etc/UPower/UPower.conf12:07
Wizzupah, is that the path?12:07
WizzupI displaced /etc/UPower.conf12:07
Wizzupthat settles it then12:08
sicelo:-)12:08
Wizzuptesting12:10
Wizzupseems ok no12:13
Wizzupw12:13
Wizzupleste-config building12:13
siceloas for the need calibration, i did notice it on my N900 too.12:15
sicelohah! did it ever not display it? suddenly i doubt, because the property it checks is wrong/doesn't exist. will make MR soon ... just finishing up something on mce atm12:16
Wizzupthe status applet did display it12:35
siceloright. so yes, the upower property it is looking for doesn't exist in upstream upower, but spinal implemented it in his fork12:57
sicelohttps://github.com/maemo-leste-upstream-forks/upower/commit/3fe5cbc2db32abe25744bac89d20f0614d32d97712:57
sicelothis can be upstreamed actually (when cleaned up a little).12:59
siceloanother option is to just switch to displaying Wh instead of mAh in status bar13:00
dsc_Wizzup: conversations update regarding notifications13:00
dsc_fyi13:00
siceloarno11: dsc_: i'm still going to try conversations-lite, and thanks so much for working on. does this mean both versions will be maintained, or what's the long-term plan?13:34
sicelofreemangordon: Wizzup: arno11: i'd like to get your comments on displaying Wh instead of mAh in the status bar. tldr; upstream upower doesn't report mAh, so we lost that property when we switched to daedalus13:36
siceloi'm willing/able to work on this, once a choice has been made13:37
dsc_sicelo: the UI was already sufficiently decoupled from logic so it was trivial to support another interface, in this case just a simple textbox13:45
sicelocool. let me update14:01
dsc_fixing touch events on it, atm14:03
Wizzupdsc_: great, will check in a few hours14:28
dsc_arno11: scrolling by touch fixed, maybe14:36
dsc_sicelo: yeah, not really a plan. it is not difficult to maintain them both. issues come when trying to style and customize QtWidget components, which is a huge pain14:38
dsc_'tis why QML was created14:38
dsc_e.g. handle lots of stuff yourself that you dont get out of the box https://git.maemo.org/leste/conversations/commit/e835e3a2f5d9de9e2001720d69996d9988e4c069#diff-4da6b99098c4cf58591528c71fc4df8cac6c140814:44
arno11dsc_: @scrolling, ok will try, thx15:48
arno11sicelo: @Wh vs mAh, it makes more sense to show mAh in the status bar IMO. but anyway, if it is easier to show Wh, no objection16:01
arno11dsc_: scrolling works fine, cool. with no kinetic but i suppose that is expected, right ?16:29
dsc_arno11: hmm. will look tomorrow16:35
arno11ah and text selection doesn't work anymore but context menu still works16:36
dsc_its a simple textbox16:39
dsc_uhmm16:40
dsc_arno11: what kind of context menu did you get?16:40
dsc_guess ill try and see16:40
arno11'select all / copy'16:42
dsc_ah ok.. well, I'm not sure how to support both text selection and touch gesture scrolling16:42
arno11yeah sure16:42
arno11that's just fyi16:43
arno11better to keep scrolling imo16:43
dsc_tomorrow ill look if I can tweak it to support both16:44
dsc_this QtWidgets stuff is a bit finnicky16:44
dsc_brb16:44
Wizzuphrm. sphone now says 'no contacts gui available'17:23
arno11ugh. with very last sphone ?17:25
Wizzupthink so17:26
arno11didn't updated yet17:27
arno11amazing. N900 is able to play video on tg-desktop. image is a bit laggy but sound plays perfectly23:00
siceloyou abuse the N900 :p23:01
arno11yeah a bit :P23:02
uvosWizzup: hmm my localy built sphone is fine23:31
uvosWizzup: could you grab sphones log and see why it dident load the module?23:31
uvossicelo: i think wh makes more sense anyhow23:33
uvoswho cares about mAh, Wh tells you how mutch energy you have while Ah overestimates remaining charge at low states of charge and underestimates it a high states of charge23:35
siceloI'm more familiar with mAh myself, but Wh is also fine23:52
Wizzupwell, I think it mostly depends on the ratings of the battery that we use23:58
Wizzupif all the batteries we get are advertised in mAh, then that is useful23:58
Wizzupuvos: so your locally build sphone uses osso-addressbook?23:58

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!