Battery life improvement
#10
There is a difference between suspending tasks when they are idle (which is what a standard multitasking operating system does), and hibernating tasks (forcing them to save their state and terminating them) whenever they are not the current fullscreen application (what Android does). On Plasma Mobile or Phosh, applications are also normally always maximized, but the invisible applications are not hibernated, they are still running in the background and decide on their own whether they are idle or not. (If they are idle, they will call some syscall to wait for a relevant event, causing the kernel to suspend them until the event happens, but when that wake up happens or whether they go into the idle state at all is up to them. The background applications can also continue doing computations, letting the preemptive scheduler in the kernel schedule their thread(s) along with the current application's thread(s).)
  Reply


Messages In This Thread
Battery life improvement - by freelectro - 05-30-2023, 06:18 AM
RE: Battery life improvement - by Kevin Kofler - 05-30-2023, 07:08 AM
RE: Battery life improvement - by freelectro - 05-30-2023, 07:18 AM
RE: Battery life improvement - by Kevin Kofler - 05-30-2023, 08:09 AM
RE: Battery life improvement - by freelectro - 05-30-2023, 12:33 PM
RE: Battery life improvement - by Kevin Kofler - 05-31-2023, 02:05 AM
RE: Battery life improvement - by freelectro - 05-31-2023, 06:26 AM
RE: Battery life improvement - by Kevin Kofler - 05-31-2023, 05:21 PM
RE: Battery life improvement - by KC9UDX - 06-01-2023, 06:54 AM
RE: Battery life improvement - by Kevin Kofler - 06-01-2023, 06:41 PM
RE: Battery life improvement - by KC9UDX - 06-01-2023, 08:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Battery connector dead mdk 2 1,840 04-22-2025, 08:28 AM
Last Post: intronaut
  Battery Life- hardware abstraction layer-GPU VS optomizing app for GPU-openGL biketool 1 1,810 09-20-2024, 04:04 AM
Last Post: Kevin Kofler
  power circuit can't charge battery and can't supply enough power for modem or wifi vortex 2 3,079 02-17-2024, 04:15 PM
Last Post: vortex
Thumbs Down Battery Issue or Power Management IC? bcoyle 2 3,461 03-20-2023, 12:54 AM
Last Post: bcoyle
  Power supply vs battery albafrati 11 9,046 06-22-2022, 06:04 PM
Last Post: albafrati
  What PD charger/dock combo results in PP battery not draining while using convergence james8880 0 2,701 04-28-2022, 12:45 PM
Last Post: james8880
  Battery mot charging past 54% StickyPine 32 40,411 02-26-2022, 02:07 AM
Last Post: vusra
  Battery replacement alternative sax1960 7 9,549 08-29-2021, 07:03 AM
Last Post: bcnaz
  Battery Capacity and Software Interaction food 2 3,757 08-15-2021, 07:19 AM
Last Post: bcnaz
  Battery phone case expected? Cpm 1 3,180 08-10-2021, 03:29 PM
Last Post: 33YN2

Forum Jump:


Users browsing this thread: 2 Guest(s)