Skip Navigation
if you ever dropped water or liquids on a notebook and placed it in a bucket full of rice afterwards, did the notebook work again?

cross-posted from: https://lemmy.ml/post/16155441

> rice absorbs moisture. > > Curious if this works to recover notebooks or other electronics.

23
what's your take on this tlp command?

command: sudo tlp-stat -b

output:

--- TLP 1.6.1 --------------------------------------------

+++ Battery Care

Plugin: generic

Supported features: none available

+++ Battery Status: BAT0

/sys/class/power_supply/BAT0/manufacturer = DP

/sys/class/power_supply/BAT0/model_name = bq20z451

/sys/class/power_supply/BAT0/cycle_count = 666

/sys/class/power_supply/BAT0/charge_full_design = 6330 [mAh]

/sys/class/power_supply/BAT0/charge_full = 5043 [mAh]

/sys/class/power_supply/BAT0/charge_now = 4936 [mAh]

/sys/class/power_supply/BAT0/current_now = 0 [mA]

/sys/class/power_supply/BAT0/status = Full

/sys/class/power_supply/BAT0/charge_control_start_threshold = (not available)

/sys/class/power_supply/BAT0/charge_control_end_threshold = (not available)

Charge = 97.9 [%]

Capacity = 79.7 [%]

my take:

this is an apple battery, meaning this command won't load it up to a threshold I choose (not available)

charged currently at 97.9%, even if the gui says it's 100%

capacity is 79.7%, what for me is a very high value, considering this is a 10 year old notebook (maybe it hasn't been used much?)

your take?

2
am I depleting my embedded notebook's battery by leaving the power cord constantly plugged in?
  • this is what sudo tlp-stat -b prints:

    --- TLP 1.6.1 --------------------------------------------

    +++ Battery Care

    Plugin: generic

    Supported features: none available

    +++ Battery Status: BAT0

    /sys/class/power_supply/BAT0/manufacturer = DP

    /sys/class/power_supply/BAT0/model_name = bq20z451

    /sys/class/power_supply/BAT0/cycle_count = 666

    /sys/class/power_supply/BAT0/charge_full_design = 6330 [mAh]

    /sys/class/power_supply/BAT0/charge_full = 5043 [mAh]

    /sys/class/power_supply/BAT0/charge_now = 4936 [mAh]

    /sys/class/power_supply/BAT0/current_now = 0 [mA]

    /sys/class/power_supply/BAT0/status = Full

    /sys/class/power_supply/BAT0/charge_control_start_threshold = (not available)

    /sys/class/power_supply/BAT0/charge_control_end_threshold = (not available)

    Charge = 97.9 [%]

    Capacity = 79.7 [%]

    do you still recommend a new battery?

  • am I depleting my embedded notebook's battery by leaving the power cord constantly plugged in?
  • When MacBooks are plugged in, they get their power from the charger. They are not simultaneously draining and charging the battery in general.

    so when the battery is fully loaded a controller tells the mobo to stop loading the battery and to use power from the charger to simply power the notebook, is this so?

  • am I depleting my embedded notebook's battery by leaving the power cord constantly plugged in?
  • If you’re gonna use Linux then go ahead and replace the battery so that you’re not worrying about it failing miserably to communicate with the charge controller or battery itself and tell you when telhe thing is fucked and need replacing.

    I'm already using linux, macos was nuked.

    I don't understand this paragraph. Do you mean new batteries for this model (macbook pro from 2014) work better with linux?

  • Do apt and snap use the same numbering system?

    sometimes, if I want to install a program from the terminal, I get 2 options: apt and snap.

    It can happen that the displayed versions are not the same, one candidate shows a higher version number than the other.

    Do both libraries use the same numbering system and is it safe to assume that the higher the version number is, the newer the program is and one should only consider this variable to install new stuff?

    4
    am I depleting my embedded notebook's battery by leaving the power cord constantly plugged in?

    notebook is a 10 year old macbook pro without macos I installed xubuntu 24.04 in. It comes with an embedded battery.

    First notebook I bought, not from apple, had a removable battery. The vendor told me to maximize its life I shouldn't plug the battery in, unless I need it (like for traveling). This way, I've managed to keep the original battery in good working condition for 8 years so far.

    Back to the macbook: I cannot remove the battery and constantly loading it to up to 80% and discharge it up to 20% seems ridiculous. Furthermore, this would deplete the battery even faster, I believe.

    What can I do to spare the battery as much as possible?

    24
    upgrading to xubuntu 24.04, another update
  • after trying suggested command

    sudo dpkg --configure -a

    I get:

    error processing package install-info (--configure): installed install-info package post-installation script subprocess returned error exit status 127, errors were encountered while processing install-info

  • upgrading to xubuntu 24.04, another update
  • backup done

    /etc/apt/sources.list point to 24.04 noble

    there are 2 packages disabled on upgrade to noble: mkv and imagereader, lines are commented so nothing wrong here

    do you still recommend to execute sudo dpkg-reconfigure -a?

  • upgrading to xubuntu 24.04, another update

    my 23.10 now boots to single user mode (the tty1 log in page), After logging in with username and password (not as root, but regular me) I get this message:

    > /etc/update-motd.d/95 updates available 7: /usr/share/update-notifier/notify-updates-outdated: not found

    > run-parts: /etc/update-motd.d/95 updates available exited with return code 127

    what's the best way to proceed now?

    NMTUI shows wlan is connected

    9
    when you upgrade an OS, do you clean install or upgrade?

    clean install: you make a backup, nuke the computer, install a fresh upgraded copy of the distro you want from a live usb, copy your data again to the computer.

    upgrade: you wait 'till the distro' developers release an upgrade you can directly install from your soon to be old distro, you use a command like sudo do-release-upgrade

    and why do you upgrade like that?

    50
    how do I enable wlan as root from initramfs?
  • Small breakthrough: I booted the system without problems to tty1 (I believe this is called single user mode), logged in as an old user and now I can see all my data, logged in as old me. Do you still recommend to backup from live usb and upgrade from there?

    NMTUI shows that wlan works

  • how do I enable wlan as root from initramfs?
  • hi, thanks for your input.

    Small breakthrough: I booted the system without problems to tty1 (I believe this is called single user mode), logged in as an old user and now I can see all my data, logged in as old me. Do you still recommend to backup from live usb and upgrade from there?

    NMTUI shows that wlan works

  • how do I enable wlan as root from initramfs?

    upgrading xubuntu 23.10 to 24.04.

    I purged a broken package that was blocking upgrades with sudo dpkg -P libfreerdp2-2 and immediately afterwards I executed sudo apt get upgrade. It unleashed a list of 96 packages to upgrade totaling 900 MB of data.

    However, if I press yes on ‘do you want to continue?’ wlan is off wlan is on, nmtui clearly shows it activated, but each time I try upgrading, updating, autoremoving, or install --fix-missing I get:

    > E: failed to fetch http… initramfs-tools-core… could not connect to 127.0.0.1, connection refused.

    (I can write the whole address if you need it)

    Some other contributors suggest I use a live usb, not installing the OS but using the live usb with working wlan to complete the installation, but this seems to be more complicated than working directly from initramfs.

    11
    Does this error exit status 127 (libfreerdp2-2) happen because my system (xubuntu 23.10) is not writable?
  • I purged the broken package with sudo dpkg -P libfreerdp2-2 and immediately afterwards I executed sudo apt get upgrade. It unleashed a list of 96 packages to upgrade totaling 900 MB of data.

    However, if I press yes on ‘do you want to continue?’ wlan seems to be off:

    E: failed to fetch http… initramfs-tools-core… could not connect to 127.0.0.1, connection refused.

    (I can write the whole address if you need it)

    how do I enable wlan as root from initramfs?

  • Does this error exit status 127 (libfreerdp2-2) happen because my system (xubuntu 23.10) is not writable?

    broken upgrade to xubuntu 24.04 from xubuntu 23.10, can access initramfs as root in recovery mode:

    there is a broken package I believe is the root of this whole issue: libfreerdp2-2

    if I execute

    > sudo apt install libfreerdp2-2

    I get:

    > you might want to run apt --fix broken install to correct these, libfreerdp2-2 has unmet dependencies, try apt --fix broken install with no packages or suggest a solution.

    After trying apt --fix broken install I get error processing package install-info (--configure), installed install-info package post installation script

    Does this happen because the system is only readable?

    I also executed

    > mount -o remount,rw /

    > mount --all

    what do I need to do to check if these commands have worked?

    5
    Partial upgrade to xubuntu 24.04 from 23.10, FS only accessible in recovery mode as root + wifi may be down. Help appreciated
  • in recovery mode as root I executed:

    mount -o remount,rw /

    mount --all

    then cd'ed to /media/home, ls'ed and got no results.

    I also don't know if changes to make the system writable are made on the go or if I have to reboot. I rebooted and the system is still in read only mode.

    ETA: another command that might be relevant:

    dpkg --configure -a

    returns

    error processing package install-info (--configure), installed install-info package post installation script subprocess returned error exit status 127

  • Partial upgrade to xubuntu 24.04 from 23.10, FS only accessible in recovery mode as root + wifi may be down. Help appreciated

    before the issue, wifi app was configured not to start automatically because I sometimes change the mac after logging in. I usually enable it afterwards with iftop and then systemctl start NetworkManager.service && sudo nm-applet

    Back to the issue: I can log in to recovery mode, filesystem is read and write, unsure that ‘network’ enables the network.

    I can also root it.

    If I execute sudo apt update output reads: failed to fetch http…. Could not connect to 127.0.0.1:8118, connection refused. I don’t know how to fix this.

    8118 should be tor.

    If I execute sudo apt install -f or dpkg –configure -a I get the regular list of packages I should delete with autoremove and the broken package I believe caused this issue during upgrade:

    libfreerdp2-2

    and a dpkg error:

    /usr/sbin/update-info-dir: 11 /etc/environment: debug: not found dpkg: error processing package install-info (-configure) errors were encountered while processing install-info sub process /usr/bin/dpkg returned an error code (1)

    lsb_release -a shows distro is 23.10

    secondary questions: is there any way to access my data as root? I can cd to media and to my home directory, but this last directory appears as empty.

    How do I change the font’s color as root? Very dark blue, cannot read anything

    thanks

    10
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CE
    ceciline02 @lemmy.ml
    Posts 9
    Comments 14